diff options
author | Jan Raasch <jan@janraasch.com> | 2022-09-15 04:03:44 +0200 |
---|---|---|
committer | Jan Raasch <jan@janraasch.com> | 2022-09-15 04:04:45 +0200 |
commit | 90982df8c92d0fd1eaea66d470aa06cbec7e6617 (patch) | |
tree | 869e2888c6f8ba7cb5e537e173b7026462748968 /layouts/partials | |
parent | 9863ab4f50b81073367145c3edc5a991bada5e53 (diff) | |
download | hugo-bearcub-90982df8c92d0fd1eaea66d470aa06cbec7e6617.tar.gz hugo-bearcub-90982df8c92d0fd1eaea66d470aa06cbec7e6617.tar.bz2 |
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
Diffstat (limited to 'layouts/partials')
-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 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 }} |