Merge pull request #50 from jpvg10/translate-dates

This commit is contained in:
Francesco Tomaselli 2024-11-19 09:30:04 +01:00 committed by GitHub
commit b9c6d8f3f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -1,5 +1,6 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
defaultContentLanguage = 'en-us'
title = 'typo'
[module]

View file

@ -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">