diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/metadata_filter.lua | 8 | 
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 = { | 
