Commit 403db421 by sbiego

divided into two partials multilanguage

parent 447669bf
......@@ -76,14 +76,17 @@
</div>
{{ end }} -->
{{ if .Site.IsMultiLingual }}
<ul id="langs">
{{ range .Site.Languages }}
<a href="{{ delimit (slice "/" .) "" }}" id="{{ . }}"><li class="lang">{{ . }}</li></a>
<a href="{{ . }}" id="{{ . }}"><li class="lang">{{ .Site.Language.label }}</li></a>
{{ end }}
</ul>
{{ end }}
{{ partial "multi_lang.html" . }}
</footer>
<!-- {{ partial "top.html" . }} -->
......
{{ if .Site.IsMultiLingual }}
<ul id="langs">
{{ range .Site.Languages }}
<a href="{{ . }}" id="{{ . }}"><li class="lang">{{ .Site.Language.label }}</li></a>
{{ end }}
</ul>
{{ end }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment