fix: remove trailing slashes
Guess what, on https://gohugo.io/functions/relurl/ it says > As a best practice, never include a leading slash when using this function. Fixes https://github.com/janraasch/hugo-bearblog/issues/65
This commit is contained in:
parent
63484fa54a
commit
5fb7b33256
3 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
<a href="{{ "/" | relURL }}" class="title">
|
||||
<a href="{{ "" | relURL }}" class="title">
|
||||
<h2>{{ .Site.Title }}</h2>
|
||||
</a>
|
||||
<nav>{{- partial "nav.html" . -}}</nav>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue