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