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:03:44 +0300
committerJan Raasch <jan@janraasch.com>2022-09-15 05:04:45 +0300
commit90982df8c92d0fd1eaea66d470aa06cbec7e6617 (patch)
tree869e2888c6f8ba7cb5e537e173b7026462748968
parent9863ab4f50b81073367145c3edc5a991bada5e53 (diff)
Revert "Fix link to »Blog« on demo page"
This reverts commit 9863ab4f50b81073367145c3edc5a991bada5e53. Whoops. I should update my local version of `hugo` 😊. This broke the build, see https://github.com/janraasch/hugo-bearblog/actions/runs/3057300422/jobs/4932310672
-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 352779f..def9b6e 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="{{ .URL }}">Blog</a>
+<a href="{{ "/blog" | relURL }}">Blog</a>
{{ end }}