2022-07-07 14:03:11 +02:00
|
|
|
<nav class="content card card-container side-padding">
|
2021-01-03 14:33:26 +01:00
|
|
|
|
2022-07-18 01:10:21 +02:00
|
|
|
<div class="menu-container">
|
2021-01-03 14:33:26 +01:00
|
|
|
<h1 class="nav-header">
|
|
|
|
<a href="{{ .Site.BaseURL }}" class="nav-text">
|
|
|
|
{{- if isset $.Site.Params "brand"}}
|
|
|
|
{{- $.Site.Params.brand -}}
|
|
|
|
{{ else }}
|
|
|
|
{{- $.Site.Title -}}
|
|
|
|
{{ end -}}
|
|
|
|
</a>
|
|
|
|
</h1>
|
|
|
|
<br>
|
|
|
|
<section id="menu">
|
|
|
|
<ul>
|
|
|
|
<li><a href="{{ .Site.BaseURL }}" class="">HOME</a></li>
|
|
|
|
|
|
|
|
{{ range where .Site.Pages "Params.displayinmenu" true -}}
|
|
|
|
<li><a href="{{ .Permalink }}" class="">{{ .Title | upper }}</a></li>
|
|
|
|
{{ end -}}
|
|
|
|
|
|
|
|
<!-- Categories -->
|
|
|
|
<!-- {{ range $key, $value := .Site.Taxonomies.categories -}}
|
|
|
|
<!-- {{ with $.Site.GetPage (printf "%s%s" "categories/" ($key | urlize)) }}
|
|
|
|
<li><a href="{{ .Permalink }}" class="">{{ .Title | upper }}</a></li>
|
|
|
|
{{ end }}
|
|
|
|
{{- end }} -->
|
|
|
|
|
|
|
|
{{ if eq .Site.Params.rssinmenu true -}}
|
|
|
|
<li><a href="{{ "/index.xml" | absURL }}" class="hamburger-menu-overlay-link">RSS</a></li>
|
|
|
|
{{- end }}
|
|
|
|
</ul>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</nav>
|