From 3648d10eb9f1b199bff6c447c68c0c20cf9c1ce0 Mon Sep 17 00:00:00 2001 From: a Date: Sat, 26 Nov 2022 10:24:50 -0600 Subject: [PATCH] enable search, disable edit links --- config.toml | 7 +++++++ layouts/partials/site-footer.html | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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 }}