Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/janraasch/hugo-bearblog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Raasch <jan@janraasch.com>2022-09-15 05:00:41 +0300
committerJan Raasch <jan@janraasch.com>2022-09-15 05:00:41 +0300
commit9863ab4f50b81073367145c3edc5a991bada5e53 (patch)
treea3248f0ef062d38c105bc841db6a7abfef204de5
parentf8bde6496410fbe94e40b959c265457dcab400b5 (diff)
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.html2
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 }}