Change menu and list page parameters to displayInMenu and displayInList
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<p class="list-header-subtext">{{ .Description }}</p>
|
||||
<h1 class="list-header-title">{{ .Title }}</h1>
|
||||
</header>
|
||||
{{ $paginator := .Paginate (where .Pages "Params.list" "!=" false) }}
|
||||
{{ $paginator := .Paginate (where .Pages "Params.displayinlist" "!=" false) }}
|
||||
{{ range $paginator.Pages }}
|
||||
{{ .Render "li" }}
|
||||
{{ end }}
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
<span></span>
|
||||
<ul class="hamburger-menu-overlay">
|
||||
<li><a href="/" class="hamburger-menu-overlay-link">Home</a></li>
|
||||
{{ range where .Site.Pages "Params.menu" true }}
|
||||
{{ range where .Site.Pages "Params.displayinmenu" true }}
|
||||
<li><a href="{{ .Permalink }}" class="hamburger-menu-overlay-link">{{ .Title }}</a></li>
|
||||
{{ end }}
|
||||
{{ range $key, $value := .Site.Taxonomies.categories }}
|
||||
|
||||
Reference in New Issue
Block a user