move format to inside of lastUpdated

This commit is contained in:
rinsuki 2020-01-04 20:05:26 +09:00
parent 7af27035d0
commit e097f0df78
2 changed files with 2 additions and 5 deletions

View File

@ -2,10 +2,7 @@
other = "Improve this page"
[lastUpdated]
other = "Last updated"
[lastUpdatedDateFormat]
other = "{{ .Format \"January 2, 2006\" }}"
other = "Last updated {{ .Format \"January 2, 2006\" }}"
[joinTitle]
other = "Join the social media revolution"

View File

@ -11,7 +11,7 @@
{{ .Content }}
<p style="color: #687590;">
{{ i18n "lastUpdated" }} {{ i18n "lastUpdatedDateFormat" .Lastmod }}{{ with .File }} · <a href='https://source.joinmastodon.org/mastodon/docs/tree/master/content/{{ .Lang }}/{{ .Path }}' style="color: #687590;">{{ i18n "improvePage" }}{{ end }}</a>
{{ i18n "lastUpdated" .Lastmod }}{{ with .File }} · <a href='https://source.joinmastodon.org/mastodon/docs/tree/master/content/{{ .Lang }}/{{ .Path }}' style="color: #687590;">{{ i18n "improvePage" }}{{ end }}</a>
{{ if .IsTranslated }}
<br />