mirror of https://github.com/theNewDynamic/gohugo-theme-ananke.git

James Henstridge
07.36.2022 5a8b531a7ce2f22eaa452ebab8325040982c9275
refs
author James Henstridge <james@jamesh.id.au>
Wednesday, September 7, 2022 14:36 +0200
committer GitHub <noreply@github.com>
Wednesday, September 7, 2022 14:36 +0200
commit5a8b531a7ce2f22eaa452ebab8325040982c9275
tree 71726029ae1fcc83ee5744d27eb218b1fd1670ad tree | zip | gz
parent b3b4386d0100ad59267fb5ec749c8087e877e5e7 view | diff
Improve links for sitemap and taxonomies (#569)

* layouts: use absURL to construct absolute URLs instead of concatenating with .Site.BaseURL

* layouts: let hugo generate URLs to taxonomy terms

* layouts: link to current language's home page in the site footer
4 files modified
26 ■■■■ changed files
layouts/_default/terms.html 8 ●●●● diff | view | raw | blame | history
layouts/partials/site-footer.html 2 ●●● diff | view | raw | blame | history
layouts/partials/tags.html 6 ●●●● diff | view | raw | blame | history
layouts/robots.txt 10 ●●●● diff | view | raw | blame | history