From 7d28678930e04b320d692b7beb16b33ca0d4fa65 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Fri, 12 Mar 2021 21:40:24 +0100 Subject: Add .url meta field to pages --- scripts/metadata_filter.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 8982d5a..7823130 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua @@ -261,6 +261,8 @@ function Meta(meta) meta.file_out = get_file_out(meta.rewrites, meta.content_dir, meta.output_dir, meta.file_in) + meta.url = resolve_url(meta.site.url, meta.output_dir, meta.file_out, meta.file_out) + meta.date = format_date(meta.date) if meta.last_update ~= nil then meta.last_update = format_date(meta.last_update) -- cgit v1.2.3-70-g09d2