summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
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 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,