diff options
author | Volpeon <git@volpeon.ink> | 2022-06-16 13:48:07 +0200 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2022-06-16 13:48:07 +0200 |
commit | 03c2acb3d2a7d41a6a44eb0b2ee266bf31dccda7 (patch) | |
tree | b16b77c56b2051aba16efe2417727bc4577aab0f /scripts | |
parent | WIP: Adding metadata (diff) | |
download | volpeon.ink-03c2acb3d2a7d41a6a44eb0b2ee266bf31dccda7.tar.gz volpeon.ink-03c2acb3d2a7d41a6a44eb0b2ee266bf31dccda7.tar.bz2 volpeon.ink-03c2acb3d2a7d41a6a44eb0b2ee266bf31dccda7.zip |
More metadata
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/metadata_filter.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua index 3fc6c66..2a6d076 100644 --- a/scripts/metadata_filter.lua +++ b/scripts/metadata_filter.lua | |||
@@ -192,6 +192,7 @@ function d1_page_to_list_item(meta, p) | |||
192 | schema_type = p.schema_type, | 192 | schema_type = p.schema_type, |
193 | position = p.position, | 193 | position = p.position, |
194 | url = p.url, | 194 | url = p.url, |
195 | rel = p.rel, | ||
195 | slug = p.slug, | 196 | slug = p.slug, |
196 | thumbnail = p.thumbnail, | 197 | thumbnail = p.thumbnail, |
197 | icon = p.icon or meta.icon, | 198 | icon = p.icon or meta.icon, |
@@ -210,6 +211,7 @@ function d2_page_to_list_item(meta, cat, p, set_cat_title) | |||
210 | schema_type = p.schema_type, | 211 | schema_type = p.schema_type, |
211 | position = p.position, | 212 | position = p.position, |
212 | url = p.url, | 213 | url = p.url, |
214 | rel = p.rel, | ||
213 | slug = p.slug, | 215 | slug = p.slug, |
214 | thumbnail = p.thumbnail, | 216 | thumbnail = p.thumbnail, |
215 | icon = p.icon or cat.icon, | 217 | icon = p.icon or cat.icon, |