caddy/modules/caddyhttp/fileserver
Forza 130f6d1f83
fileserver: Set canonical URL on browse template (#5867)
* Browse.html: Add canonical URL and home-link

When contents are equal, but maybe just a sort order is different, it is good to add `<link rel="canonical" href="base-path/" />`. This helps search engines propeely index the page.

I also added a link to the home page with the name of `{{.Host}}` just above the bread crumbs to make the page clearer.

https://paste.tnonline.net/files/28Wun5CQZiqA_Screenshot_20231007_134435_Opera.png

* Update browse.html
2023-10-11 13:47:38 -06:00
..
testdata
browse.go
browse.html fileserver: Set canonical URL on browse template (#5867) 2023-10-11 13:47:38 -06:00
browsetplcontext.go
browsetplcontext_test.go
caddyfile.go
command.go fileserver: Add command shortcuts -l and -a (#5854) 2023-10-10 20:57:18 +00:00
matcher.go
matcher_test.go
staticfiles.go
staticfiles_test.go