Skip to content

Commit

Permalink
Merge pull request #50 from jpvg10/translate-dates
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfran authored Nov 19, 2024
2 parents 3618437 + 3e7e8a7 commit b9c6d8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
baseURL = 'https://example.org/'
languageCode = 'en-us'
defaultContentLanguage = 'en-us'
title = 'typo'

[module]
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/post-entry.html
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit b9c6d8f

Please sign in to comment.