Merge pull request 'Revert last change' (#26) from hotfix/fix-menu-on-subpath-deployed-sites into main
Reviewed-on: stiebke/hugo-internet-weblog#26
This commit is contained in:
commit
9ebc3a3392
1 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,9 @@
|
|||
<ul>
|
||||
{{ range .Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{.RelPermalink}}">{{ .Name }}</a>
|
||||
<a href="{{.URL}}">{{ .Name }}</a>
|
||||
{{ if in ($.Scratch.Get "sections") .Name }}
|
||||
<a href="{{.RelPermalink}}index.xml"><img src="/img/rss.svg" class="rss-icon" /></a>
|
||||
<a href="{{.URL}}index.xml"><img src="/img/rss.svg" class="rss-icon" /></a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
|
@ -19,7 +19,7 @@
|
|||
<ul>
|
||||
{{ range .Site.Menus.main }}
|
||||
<li>
|
||||
<a href="{{.RelPermalink}}">{{ .Name }}</a>
|
||||
<a href="{{.URL}}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.Author.aboutpage }}<li><a href="{{ . }}">Über</a></li>{{ end }}
|
||||
|
|
Loading…
Add table
Reference in a new issue