feat(): add support for translations

This commit is contained in:
kendo5731
2016-02-06 15:37:20 +01:00
parent b9047b4cf3
commit b250023b85
4 changed files with 12 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{{ partial "top.html" . }}
<h1>{{ .Title }}</h1>
<h4>Publié le {{ dateFormat "01-02-2006 15:04:05" .Date }}</h4>
<h4>{{ ( index $.Site.Data.translations $.Site.Params.locale ).datepublished }} {{ dateFormat "01-02-2006 15:04:05" .Date }}</h4>
{{ partial "share.html" . }}
<article>
{{ .Content }}