summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/metadata_filter.lua7
1 files changed, 7 insertions, 0 deletions
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)
262 }) 262 })
263 end 263 end
264 264
265 if meta.create_feed then
266 meta.feed = pandoc.MetaMap({
267 url = resolve_url(meta.site.url, meta.output_dir, meta.file_out,
268 meta.file_out:gsub("%.html$", ".xml"))
269 })
270 end
271
265 if meta.menus and meta.menus.main then 272 if meta.menus and meta.menus.main then
266 meta.menus.main = prep_main_menu(meta.rewrites, meta.section, 273 meta.menus.main = prep_main_menu(meta.rewrites, meta.section,
267 meta.menus.main) 274 meta.menus.main)