diff options
| author | Volpeon <git@volpeon.ink> | 2021-12-17 17:47:08 +0100 |
|---|---|---|
| committer | Volpeon <git@volpeon.ink> | 2021-12-17 17:47:08 +0100 |
| commit | 03a7b5de1c97bf36bf454d7d3f718e128c19289a (patch) | |
| tree | cd8b0eb772691932ade0828d5edd5a0b0a6ca41e /scripts | |
| parent | Fix subpage content (diff) | |
| download | volpeon.ink-03a7b5de1c97bf36bf454d7d3f718e128c19289a.tar.gz volpeon.ink-03a7b5de1c97bf36bf454d7d3f718e128c19289a.tar.bz2 volpeon.ink-03a7b5de1c97bf36bf454d7d3f718e128c19289a.zip | |
Fix subpage content for real
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/subpages.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/subpages.lua b/scripts/subpages.lua index d77759d..b753b1e 100644 --- a/scripts/subpages.lua +++ b/scripts/subpages.lua | |||
| @@ -4,7 +4,7 @@ local namespace = '' | |||
| 4 | local siteUrl = '' | 4 | local siteUrl = '' |
| 5 | 5 | ||
| 6 | function meta(meta) | 6 | function meta(meta) |
| 7 | namespace = pandoc.utils.stringify(meta.namespace) | 7 | namespace = pandoc.utils.stringify(meta.namespace.full) |
| 8 | siteUrl = pandoc.utils.stringify(meta.site.url):gsub("/$", "") | 8 | siteUrl = pandoc.utils.stringify(meta.site.url):gsub("/$", "") |
| 9 | end | 9 | end |
| 10 | 10 | ||
