hugo-ataru

Hugo theme with titleless posts and microformats2 support

git clone git://git.shimmy1996.com/hugo-ataru.git
commit 99a3f765e47d4844a3be8253497d2134188da914
parent 3e154caacfc6317aa52e0d536a7a4d366d53863d
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Mon, 20 Apr 2020 08:16:45 -0500

Give page nav it's own nav to prevent overlapping with later content

Diffstat:
Mlayouts/_default/list.html | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
@@ -1,11 +1,11 @@
 {{ define "main" }}
+<nav>{{ partial "nav_page.html" . }}</nav>
 <nav>
   {{- range $i, $menu := .Site.Menus.main -}}
   {{- if (ge $i 1) }}&nbsp;|&nbsp;{{ end -}}
   <a href="{{ .URL | relURL }}">{{ .Name }}</a>
   {{- end -}}
   {{ partial "language.html" . }}
-  {{ partial "nav_page.html" . }}
 </nav>
 <main class="h-feed">
   {{ $pag := partial "get_paginator.html" . }}