feat: uses english as the default language

This commit is contained in:
Dmitry Verkhoturov
2018-03-26 22:20:38 +03:00
committed by Aurélien Baumann
parent aefcdfc237
commit c2b9f750c9
4 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
{{ partial "top.html" . }}
<p>{{ ( index $.Site.Data.translations $.Site.Params.locale ).notfoundmsg }}</p>
<p><a href="/">{{ ( index $.Site.Data.translations $.Site.Params.locale ).gotoroot }}</a></p>
<p>{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).notfoundmsg }}</p>
<p><a href="/">{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).gotoroot }}</a></p>
{{ partial "bottom.html" . }}