summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2022-06-18 15:51:18 +0200
committerVolpeon <git@volpeon.ink>2022-06-18 15:51:18 +0200
commita43ca52aa2d102c7499c7fd8478304a26ea2cd0a (patch)
treed44afb4720ffdb088a3c8f05f27befb446b195ae /scripts
parentImproved exhibit (diff)
downloadvolpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.tar.gz
volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.tar.bz2
volpeon.ink-a43ca52aa2d102c7499c7fd8478304a26ea2cd0a.zip
Improved Lua filters, improved exhibit pages
Diffstat (limited to 'scripts')
-rw-r--r--scripts/metadata_filter.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua
index 4f7200a..8f32bd4 100644
--- a/scripts/metadata_filter.lua
+++ b/scripts/metadata_filter.lua
@@ -290,14 +290,6 @@ function process(global, meta)
290 if meta.list_limit then meta.list_limit = tonumber(pandoc.utils.stringify(meta.list_limit)) end 290 if meta.list_limit then meta.list_limit = tonumber(pandoc.utils.stringify(meta.list_limit)) end
291 if meta.position then meta.position = pandoc.utils.stringify(meta.position) end 291 if meta.position then meta.position = pandoc.utils.stringify(meta.position) end
292 292
293 if meta.images then
294 for i = 1, #meta.images do
295 local image = meta.images[i]
296 image.url = make_absolute(pandoc.utils.stringify(image.url), meta.file_out)
297 image.url = resolve_url(global.site.url, global.file_out, image.url)
298 end
299 end
300
301 if meta.feed then 293 if meta.feed then
302 if meta.file_out:match(".html$") then 294 if meta.file_out:match(".html$") then
303 meta.feed = { 295 meta.feed = {