Toevoegen subitems aan menu's en eenduidige structuur van hoofditems

This commit is contained in:
Michael Boelen 2023-05-17 11:43:44 +02:00
parent 0fb9dabfef
commit 706e8f4627
3 changed files with 27 additions and 4 deletions

View file

@ -12,7 +12,9 @@
{{ $pages := (where $.Site.RegularPages ".Section" $sectionName) }}
<ul>
{{ range $pages.ByParam "title" }}
<li><a href="{{ .RelPermalink }}">{{ .Title | default .Site.Params.textNoTitle }}</a></li>
<li>
<a href="{{ .RelPermalink }}">{{ .Title | default .Site.Params.textNoTitle }}</a>
</li>
{{ end }}
</ul>
{{ end }}