summaryrefslogtreecommitdiff
path: root/layouts/partials/24-unification/nav.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/24-unification/nav.html')
-rw-r--r--layouts/partials/24-unification/nav.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/layouts/partials/24-unification/nav.html b/layouts/partials/24-unification/nav.html
new file mode 100644
index 0000000..a0c463b
--- /dev/null
+++ b/layouts/partials/24-unification/nav.html
@@ -0,0 +1,40 @@
+ <a href="#content" style="height: 1px; left: 0; overflow: hidden; position: absolute; top: -1000px; width: 1px;">Skip to content</a>
+ <div class="nav-box">
+ <div class="logo" id="faceBg">
+ {{ partial "blog/face-game.html" . }}
+ </div>
+
+ {{ $page := . }}
+ {{- with index site.Menus "sections" }}
+ <ol class="section">
+ <li class="name"><a href="/"><b>CRYS</b>SITE</a></li>
+ {{- range . }}
+ <li
+ {{ $sectionSlice := slice .Params.section}}
+ {{ if intersect $page.Params.Categories $sectionSlice}}
+ class="active"
+ {{ end }}
+
+ ><a href="{{ .URL }}">{{ .Name }}</a>
+ {{- with index site.Menus .Params.submenu }}
+ <ol class="subsection">
+ {{- range .}}
+ <li><a href="{{ .URL}}">{{ .Name }}</a></li>
+ {{- end}}
+ </ol>
+
+ {{- end}}
+ </li>
+
+ {{- end}}
+
+ <li class="section" id="moneyLink">
+ <a href="https://ko-fi.com/mmspl" target="blank">Buy me a Ko-Fi</a>
+ </li>
+ </ol>
+ {{- end}}
+</div>
+
+ <div class="webbuttons">
+ {{ partial "button-31" (dict "file" "rss.gif" "alt" "RSS Feed" "href" "https://michal.sapka.me/blog/index.xml") }}
+ </div>