hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit df03db875d47899d3f9ea21d30d1a6240caedc59
parent c7dfb029e14990cbb245a655fd2430c8d613e5c9
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Thu, 28 Jun 2018 10:15:38 -0500

Formatting changes.

Diffstat:
Mlayouts/_default/single.html | 1+
Mlayouts/_default/terms.html | 2+-
Mlayouts/partials/navigation_bar.html | 12++++++------
3 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
@@ -1,4 +1,5 @@
 {{ partial "header.html" . }}
+
 <article>
   <header class="article-meta">
     <h1 class="title">{{ .Title }}</h1>
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
@@ -7,7 +7,7 @@
 <ul class="terms">
   {{ range $key, $value := .Data.Terms }}
   <li><a href="{{ print "/" $.Data.Plural "/" $key | urlize | relLangURL }}">{{ partial "i18n_fallback" $key }}</a>({{ len $value }})</li>
-{{ end }}
+  {{ end }}
 </ul>
 
 {{ partial "footer.html" . }}
diff --git a/layouts/partials/navigation_bar.html b/layouts/partials/navigation_bar.html
@@ -1,11 +1,11 @@
 <nav>
-<ul class="menu">
-  {{- range .Site.Menus.main -}}
+  <ul class="menu">
+    {{- range .Site.Menus.main -}}
     <li>&nbsp;<a href="{{ .URL | relURL }}">{{ .Name }}</a>&nbsp;</li>
-  {{- end -}}
-  {{- range .Translations -}}
+    {{- end -}}
+    {{- range .Translations -}}
     <li>&nbsp;<a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>&nbsp;</li>
-  {{- end -}}
-</ul>
+    {{- end -}}
+  </ul>
 </nav>
 <hr/>