From 9e795f303ffa8a6350a49d45eefdffd5b84f2036 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sun, 10 Jan 2021 21:47:29 +0100 Subject: Show secret footer, add link meta tag to feed for owning page, finished home page --- scripts/metadata_filter.lua | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'scripts') diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 5ed5382..d7116dc 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua @@ -262,6 +262,13 @@ function Meta(meta) }) end + if meta.create_feed then + meta.feed = pandoc.MetaMap({ + url = resolve_url(meta.site.url, meta.output_dir, meta.file_out, + meta.file_out:gsub("%.html$", ".xml")) + }) + end + if meta.menus and meta.menus.main then meta.menus.main = prep_main_menu(meta.rewrites, meta.section, meta.menus.main) -- cgit v1.2.3-70-g09d2