summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-12-20 11:19:50 +0100
committerVolpeon <git@volpeon.ink>2021-12-20 11:19:50 +0100
commit1e130fb692b6c21b09b03bacdfd00600bb3982db (patch)
treea56d8a8a614530f137db54aa026ccd26a7e2a6af /scripts
parentMore compact gallery cards (diff)
downloadvolpeon.ink-1e130fb692b6c21b09b03bacdfd00600bb3982db.tar.gz
volpeon.ink-1e130fb692b6c21b09b03bacdfd00600bb3982db.tar.bz2
volpeon.ink-1e130fb692b6c21b09b03bacdfd00600bb3982db.zip
Add fediring links
Diffstat (limited to 'scripts')
-rw-r--r--scripts/metadata_filter.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/metadata_filter.lua b/scripts/metadata_filter.lua
index 25fbc50..b16ab92 100644
--- a/scripts/metadata_filter.lua
+++ b/scripts/metadata_filter.lua
@@ -189,7 +189,7 @@ function generate_list(meta)
189 url = p.url, 189 url = p.url,
190 thumbnail = p.thumbnail, 190 thumbnail = p.thumbnail,
191 icon = p.icon or meta.icon, 191 icon = p.icon or meta.icon,
192 post_icon = meta.list_post_icon, 192 post_icon = p.post_icon or meta.list_post_icon,
193 indicator = meta.list_read_indicators, 193 indicator = meta.list_read_indicators,
194 } 194 }
195 end) 195 end)
@@ -205,7 +205,7 @@ function generate_list(meta)
205 url = p.url, 205 url = p.url,
206 thumbnail = p.thumbnail, 206 thumbnail = p.thumbnail,
207 icon = p.icon or cat.icon, 207 icon = p.icon or cat.icon,
208 post_icon = cat.list_post_icon or meta.list_post_icon, 208 post_icon = p.post_icon or cat.list_post_icon or meta.list_post_icon,
209 indicator = cat.list_read_indicators, 209 indicator = cat.list_read_indicators,
210 } 210 }
211 end) 211 end)
@@ -237,7 +237,7 @@ function generate_list(meta)
237 url = p.url, 237 url = p.url,
238 thumbnail = p.thumbnail, 238 thumbnail = p.thumbnail,
239 icon = p.icon or c.icon, 239 icon = p.icon or c.icon,
240 post_icon = c.list_post_icon or cat.list_post_icon, 240 post_icon = p.post_icon or c.list_post_icon or cat.list_post_icon,
241 indicator = c.list_read_indicators, 241 indicator = c.list_read_indicators,
242 } 242 }
243 end) 243 end)
@@ -248,7 +248,7 @@ function generate_list(meta)
248 subtitle = c.subtitle, 248 subtitle = c.subtitle,
249 url = c.url, 249 url = c.url,
250 icon = c.icon or cat.icon, 250 icon = c.icon or cat.icon,
251 post_icon = cat.list_post_icon, 251 post_icon = c.post_icon or cat.list_post_icon,
252 indicator = cat.list_read_indicators, 252 indicator = cat.list_read_indicators,
253 }) 253 })
254 return l 254 return l