diff options
author | Jan Raasch <jan@janraasch.com> | 2022-09-15 04:00:41 +0200 |
---|---|---|
committer | Jan Raasch <jan@janraasch.com> | 2022-09-15 04:00:41 +0200 |
commit | 9863ab4f50b81073367145c3edc5a991bada5e53 (patch) | |
tree | a3248f0ef062d38c105bc841db6a7abfef204de5 | |
parent | f8bde6496410fbe94e40b959c265457dcab400b5 (diff) | |
download | hugo-bearcub-9863ab4f50b81073367145c3edc5a991bada5e53.tar.gz hugo-bearcub-9863ab4f50b81073367145c3edc5a991bada5e53.tar.bz2 |
Fix link to »Blog« on demo page
The demo is hosted at https://janraasch.github.io/hugo-bearblog/, but currently the link is »/blog«, so we end up at https://janraasch.github.io/blog with a `404` 🥹.
-rw-r--r-- | layouts/partials/nav.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index def9b6e..352779f 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -3,5 +3,5 @@ <a href="{{ .URL }}">{{ .Name }}</a> {{ end }} {{ with .Site.GetPage "/blog" }} -<a href="{{ "/blog" | relURL }}">Blog</a> +<a href="{{ .URL }}">Blog</a> {{ end }} |