diff options
author | Forza <68693597+Forza-tng@users.noreply.github.com> | 2023-10-11 21:47:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-11 13:47:38 -0600 |
commit | 130f6d1f838900c12e1649e580aae817e8c2909e (patch) | |
tree | 57c76685521059303209326c5a5d232636737bea /modules/caddyhttp/markdown/markdown.go | |
parent | 289934f3d16405c6aa791d2b0702c2f893045e0e (diff) |
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
Diffstat (limited to 'modules/caddyhttp/markdown/markdown.go')
0 files changed, 0 insertions, 0 deletions