tclip/cmd/web/tmpl
Xe Iaso 37727362e9 cmd/web: review fixes
* check extensions before content
* explicitly denote enry hack until upstream fixes[1]
* comment each case for the url parts deconstruction trick
* use fname as title when no title exists
* better title detection logic
* kill a random empty line in inline CSS
* rename sp (split) to pathComponents

[1]: https://github.com/go-enry/go-enry/pull/154

Signed-off-by: Xe Iaso <xe@tailscale.com>
2023-02-24 18:32:05 +00:00
..
base.tmpl cmd/web: render posts with Inter, show border around posts 2023-02-24 15:18:32 +00:00
create.tmpl cmd/web: show up to top 5 recent pastes on homescreen 2023-02-23 18:09:53 +00:00
error.tmpl many fixes 2022-12-15 18:47:09 +00:00
fancypost.tmpl cmd/web: review fixes 2023-02-24 18:32:05 +00:00
help.tmpl cmd/web: fix installation instructions 2023-01-30 13:21:25 -08:00
listpaste.tmpl many fixes 2022-12-15 18:47:09 +00:00
nopastes.tmpl cmd/web: syntax highlighting with prism.js 2023-02-22 15:43:17 +00:00
notfound.tmpl many fixes 2022-12-15 18:47:09 +00:00
pastecreated.tmpl cmd/web: make error messages cleaner, add TLS, fix the posting form 2023-01-12 16:25:34 +00:00
publicindex.tmpl implement the public index page 2022-12-15 17:37:35 +00:00
showpaste.tmpl cmd/web: optionally render markdown posts in a fancy view 2023-02-24 17:29:01 +00:00