diff --git a/config.toml b/config.toml index e30025b..4c2e37b 100644 --- a/config.toml +++ b/config.toml @@ -2,5 +2,12 @@ baseURL = 'https://wiki.trwnh.com/' languageCode = 'en-us' title = 'wiki.trwnh.com' +[frontmatter] +lastmod = ["lastmod", ":git", "date", "publishDate"] + +[outputs] + home = ["HTML", "RSS", "JSON"] + page = ["HTML"] + [params] use_titles_in_section_lists = false \ No newline at end of file diff --git a/layouts/partials/site-footer.html b/layouts/partials/site-footer.html index 307bc58..e9f8784 100644 --- a/layouts/partials/site-footer.html +++ b/layouts/partials/site-footer.html @@ -2,7 +2,7 @@
{{ if eq .Kind "page" }} -

Last modified {{ .Lastmod.Format "Mon Jan 2, 2006" }}
Edit this page

+

Last modified {{ .Lastmod.Format "Mon Jan 2, 2006" }}

{{ end }}