diff options
author | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-10-07 10:21:01 +0300 |
---|---|---|
committer | Emiel Hollander <EmielH@users.noreply.github.com> | 2018-10-07 10:21:01 +0300 |
commit | 5d20e1cae14ed1c025c536ecfbbb21cc2d7efbe6 (patch) | |
tree | cb89a85c078b2c17a69a5e6b26ef1216dfead0d1 /layouts/index.html | |
parent | 7ffbe45d665c34048803bb21b8e3002c8b605e94 (diff) |
Add localisation option for publishdate
Diffstat (limited to 'layouts/index.html')
-rw-r--r-- | layouts/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html index 94c114a..5d946f5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@ {{ range (.Paginate .Pages).Pages }} <a href="{{ .Permalink }}" class="catalogue-item"> <div> - <time datetime="{{ .PublishDate }}" class="catalogue-time">{{ .PublishDate.Format "January 2, 2006" }}</time> + <time datetime="{{ .PublishDate }}" class="catalogue-time">{{ i18n "publishdate" . }}</time> <h1 class="catalogue-title">{{ .Title }}</h1> <div class="catalogue-line"></div> |