mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-05 23:39:59 -04:00
🔀 Merge pull request #66 from AntoineSoetewey/patch-1
Add parentheses in date.html
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<time datetime="{{ .Date }}">
|
||||
{{- .Date.Format .Site.Params.article.dateFormat | default "2 January 2006" -}}
|
||||
{{- .Date.Format (.Site.Params.article.dateFormat | default "2 January 2006") -}}
|
||||
</time>
|
||||
{{ if .Params.showDateUpdated | default (.Site.Params.article.showDateUpdated | default false) }}
|
||||
(Updated:
|
||||
<time datetime="{{ .Lastmod }}">
|
||||
{{- .Lastmod.Format .Site.Params.article.dateFormat | default "2 January 2006" -}}
|
||||
{{- .Lastmod.Format (.Site.Params.article.dateFormat | default "2 January 2006") -}}
|
||||
</time>
|
||||
)
|
||||
{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user