diff --git a/i18n/en.toml b/i18n/en.toml index 8385e2c..1356959 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -11,7 +11,4 @@ other = "All Rights Reserved" other = "Powered by" [and] -other = "and" - -[updated] -other = "Updated" \ No newline at end of file +other = "and" \ No newline at end of file diff --git a/layouts/partials/icons.html b/layouts/partials/icons.html new file mode 100644 index 0000000..852ef1a --- /dev/null +++ b/layouts/partials/icons.html @@ -0,0 +1,64 @@ + diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html index ac4c63d..843f844 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -12,7 +12,7 @@ {{- if $showDate }} {{ partial "sprite" (dict "icon" "calendar") }} - {{ $postDate -}}{{- if ne $postDate $updateDate }} ({{ T "updated" }}: {{ $updateDate -}}){{- end }} + {{ $postDate -}}{{- if ne $postDate $updateDate }} {{- partial "sprite" (dict "icon" "edit") -}}{{- $updateDate -}}{{- end }} {{- $scratch.Set "writeSeparator" true }} {{- end }}