mirror of
https://github.com/LukasJoswiak/etch.git
synced 2024-05-20 06:28:31 -04:00
Compare commits
2 commits
4791a23949
...
22bac358d6
Author | SHA1 | Date | |
---|---|---|---|
22bac358d6 | |||
ddc100f5c5 |
|
@ -13,7 +13,7 @@ other = "Jan 2, 2006"
|
||||||
[post]
|
[post]
|
||||||
|
|
||||||
[post.created]
|
[post.created]
|
||||||
other = "Jan 2, 2006"
|
other = "January 2, 2006"
|
||||||
|
|
||||||
[post.updated]
|
[post.updated]
|
||||||
other = "Updated Jan 2, 2006"
|
other = "Updated January 2, 2006"
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
{{ if eq .Lastmod .Date }}
|
{{ if eq .Lastmod .Date }}
|
||||||
<time>{{ .Date | time.Format (i18n "post.created") }}</time>
|
<time>{{ .Date | time.Format (i18n "post.created") }}</time>
|
||||||
{{ else }}
|
{{ else }}
|
||||||
<time>{{ .Date | time.Format (i18n "post.updated") }}</time>
|
<time>{{ .Lastmod | time.Format (i18n "post.updated") }}</time>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue