commit 2f5f266ab05b183f0d511d404205fb9b1f635fee
parent 63fb4eddb865213624b13ce8154cf72e077751bd
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Wed, 8 Jan 2020 08:14:01 -0600
Wrap in <p> tag to work better in terminal browsers
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
@@ -1,4 +1,4 @@
-<nav>
+<nav><p>
{{ if .IsHome }}
{{- range $i, $menu := .Site.Menus.main -}}
{{- if (ge $i 1) }} | {{ end -}}
@@ -10,4 +10,4 @@
{{- range .Translations -}}
| <a href="{{ .Permalink | relURL }}">{{ .Language.LanguageName }}</a>
{{- end -}}
-</nav>
+</p></nav>