mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 11:46:41 +02:00
Fix footnotes and anchor href
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<head>
|
||||
{{ partial "meta.html" . }}
|
||||
<base href="{{ .Site.BaseURL }}">
|
||||
<title>
|
||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
||||
{{ if eq $url "" }}
|
||||
|
@@ -22,7 +22,7 @@
|
||||
{{ range .Site.Sections }}
|
||||
{{ range first 1 (where .Pages "Section" "ne" "")}}
|
||||
{{ if ne .Section "blog"}}
|
||||
<a href="{{ .Section | urlize }}"><li>{{ .Section }}</li></a>
|
||||
<a href="{{ .Section | urlize | absURL }}"><li>{{ .Section }}</li></a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
Reference in New Issue
Block a user