hugo-djem-so

Hugo theme for my blog

git clone git://git.shimmy1996.com/hugo-djem-so.git
commit 46b57cfa9a8eed67940a0df8751166a88986e5a7
parent b44d370f89d54d5ebd53a417b87b7f1daf61e518
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Sun,  5 Jan 2020 18:19:29 -0600

Place date on second line

Diffstat:
Mlayouts/partials/nav.html | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
@@ -5,12 +5,12 @@
   <a href="{{ .URL | relURL }}">{{ .Name }}</a>
   {{- end -}}
   {{- else -}}
-  {{- if not .IsNode -}}{{- with .Date -}}
-  <time datetime={{ .Format "2006-01-02" }}>{{ .Format "2006-01-02" }}</time>&nbsp;|&nbsp;
-  {{- end -}}{{- end -}}
   <a href="{{ .Site.Home.Permalink | relURL }}">{{ .Site.Title }}</a>
   {{- end -}}
   {{- range .Translations -}}
   &nbsp;|&nbsp;<a href="{{ .Permalink | relURL }}">{{ .Language.LanguageName }}</a>
-  {{- end -}}
+  {{- end -}}<br/>
+  {{- if not .IsNode -}}{{- with .Date -}}
+  <time datetime={{ .Format "2006-01-02" }}>{{ .Format "2006-01-02" }}</time>
+  {{- end -}}{{- end -}}
 </nav>