summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-03-12 21:40:24 +0100
committerVolpeon <git@volpeon.ink>2021-03-12 21:40:24 +0100
commit7d28678930e04b320d692b7beb16b33ca0d4fa65 (patch)
tree651876eeac7bbd008ffa252dc0e4da403dd57dd5 /scripts
parentCreated project pages for blobfox and bunhd emojis (diff)
downloadvolpeon.ink-7d28678930e04b320d692b7beb16b33ca0d4fa65.tar.gz
volpeon.ink-7d28678930e04b320d692b7beb16b33ca0d4fa65.tar.bz2
volpeon.ink-7d28678930e04b320d692b7beb16b33ca0d4fa65.zip
Add .url meta field to pages
Diffstat (limited to 'scripts')
-rw-r--r--scripts/metadata_filter.lua2
1 files changed, 2 insertions, 0 deletions
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)
261 meta.file_out = get_file_out(meta.rewrites, meta.content_dir, 261 meta.file_out = get_file_out(meta.rewrites, meta.content_dir,
262 meta.output_dir, meta.file_in) 262 meta.output_dir, meta.file_in)
263 263
264 meta.url = resolve_url(meta.site.url, meta.output_dir, meta.file_out, meta.file_out)
265
264 meta.date = format_date(meta.date) 266 meta.date = format_date(meta.date)
265 if meta.last_update ~= nil then 267 if meta.last_update ~= nil then
266 meta.last_update = format_date(meta.last_update) 268 meta.last_update = format_date(meta.last_update)