hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 8a9be189b482982c5e835ee64803a9c301885b71
parent e974c25c0afda5aadedc0569ffa5c1348472582b
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Tue, 26 Jun 2018 16:56:01 -0500

Correct the usage of &nbsp; in navigation bar.

Diffstat:
Mlayouts/partials/navigation_bar.html | 5++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/layouts/partials/navigation_bar.html b/layouts/partials/navigation_bar.html
@@ -1,11 +1,10 @@
 <nav>
 <ul class="menu">
-  &nbsp
   {{- range .Site.Menus.main -}}
-    <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>&nbsp
+    <li>&nbsp;<a href="{{ .URL | relURL }}">{{ .Name }}</a>&nbsp;</li>
   {{- end -}}
   {{- range .Translations -}}
-    <li><a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a></li>&nbsp
+    <li>&nbsp;<a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a>&nbsp;</li>
   {{- end -}}
 </ul>
 </nav>