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,6 +1,6 @@
{{ partial "top.html" . }}
<h1>{{ .Title }}</h1>
<h4>{{ ( index $.Site.Data.translations $.Site.Params.locale ).datepublished }} {{ dateFormat "01-02-2006 15:04:05" .Date }}</h4>
<h4>{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).datepublished }} {{ dateFormat "01-02-2006 15:04:05" .Date }}</h4>
{{ partial "share.html" . }}
<article>
{{ .Content }}