mirror of
https://github.com/tomfran/typo.git
synced 2025-04-25 21:19:55 +03:00
Merge pull request #50 from jpvg10/translate-dates
This commit is contained in:
commit
b9c6d8f3f7
2 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
baseURL = 'https://example.org/'
|
||||
languageCode = 'en-us'
|
||||
defaultContentLanguage = 'en-us'
|
||||
title = 'typo'
|
||||
|
||||
[module]
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
{{ $dateFormat = .}}
|
||||
{{ end }}
|
||||
|
||||
<p class="line-date">{{ .Date.Format $dateFormat }} </p>
|
||||
<p class="line-date">{{ .Date | time.Format $dateFormat }} </p>
|
||||
|
||||
<div>
|
||||
<p class="line-title">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue