commit 8a9be189b482982c5e835ee64803a9c301885b71
parent e974c25c0afda5aadedc0569ffa5c1348472582b
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date: Tue, 26 Jun 2018 16:56:01 -0500
Correct the usage of in navigation bar.
Diffstat:
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">
-  
{{- range .Site.Menus.main -}}
- <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li> 
+ <li> <a href="{{ .URL | relURL }}">{{ .Name }}</a> </li>
{{- end -}}
{{- range .Translations -}}
- <li><a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a></li> 
+ <li> <a href="{{ .Permalink }}">{{ .Site.Language.LanguageName }}</a> </li>
{{- end -}}
</ul>
</nav>