From 9134d421122a42c8008dfb72584f0ad2af6106d3 Mon Sep 17 00:00:00 2001 From: aries Date: Mon, 11 Sep 2023 13:59:08 +0900 Subject: [PATCH 1/2] Add lastmod date Signed-off-by: aries --- i18n/en.toml | 3 +++ layouts/partials/post-meta.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/i18n/en.toml b/i18n/en.toml index a70d8069..71aaa106 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -55,6 +55,9 @@ other = "{{ .ReadingTime }} min read" [series_posts] other = "Posts in this series" +[last_update] +other = "updated" + # search [quick_links] other = "Results" diff --git a/layouts/partials/post-meta.html b/layouts/partials/post-meta.html index e46eb0e8..51a834dc 100644 --- a/layouts/partials/post-meta.html +++ b/layouts/partials/post-meta.html @@ -11,6 +11,9 @@ {{ partial "sprite" (dict "icon" "calendar") }} {{- $scratch.Set "writeSeparator" true }} {{- end }} From 8b529743dbeb3ee6a2f3e25429b07e94a83b43bd Mon Sep 17 00:00:00 2001 From: Aries Date: Mon, 11 Sep 2023 14:11:45 +0900 Subject: [PATCH 2/2] Update README.md Signed-off-by: aries --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 29d84f7e..9a27fb46 100644 --- a/README.md +++ b/README.md @@ -267,6 +267,7 @@ These options can be set from a page [frontmatter](https://gohugo.io/content-man |:-------------------- | ------------------ | ---------------- | | title | string | N/A | | date | date | N/A | +| lastmod | date | N/A | | description | string | N/A | | keywords | array of strings | yes | | introDescription | string | yes |