mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-20 18:01:36 -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 }}">
|
<time datetime="{{ .Date }}">
|
||||||
{{- .Date.Format .Site.Params.article.dateFormat | default "2 January 2006" -}}
|
{{- .Date.Format (.Site.Params.article.dateFormat | default "2 January 2006") -}}
|
||||||
</time>
|
</time>
|
||||||
{{ if .Params.showDateUpdated | default (.Site.Params.article.showDateUpdated | default false) }}
|
{{ if .Params.showDateUpdated | default (.Site.Params.article.showDateUpdated | default false) }}
|
||||||
(Updated:
|
(Updated:
|
||||||
<time datetime="{{ .Lastmod }}">
|
<time datetime="{{ .Lastmod }}">
|
||||||
{{- .Lastmod.Format .Site.Params.article.dateFormat | default "2 January 2006" -}}
|
{{- .Lastmod.Format (.Site.Params.article.dateFormat | default "2 January 2006") -}}
|
||||||
</time>
|
</time>
|
||||||
)
|
)
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in New Issue
Block a user