From 130f6d1f838900c12e1649e580aae817e8c2909e Mon Sep 17 00:00:00 2001 From: Forza <68693597+Forza-tng@users.noreply.github.com> Date: Wed, 11 Oct 2023 21:47:38 +0200 Subject: 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 ``. 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 --- modules/caddyhttp/fileserver/browse.html | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/caddyhttp/fileserver/browse.html') diff --git a/modules/caddyhttp/fileserver/browse.html b/modules/caddyhttp/fileserver/browse.html index 88036d0..1c8be7f 100644 --- a/modules/caddyhttp/fileserver/browse.html +++ b/modules/caddyhttp/fileserver/browse.html @@ -299,6 +299,7 @@