diff options
-rw-r--r-- | content/fediring/index.md | 7 | ||||
-rw-r--r-- | content/fediring/next.md | 6 | ||||
-rw-r--r-- | content/fediring/prev.md | 6 | ||||
-rw-r--r-- | content/symbols.svg | 4 | ||||
-rw-r--r-- | scripts/metadata_filter.lua | 8 |
5 files changed, 27 insertions, 4 deletions
diff --git a/content/fediring/index.md b/content/fediring/index.md new file mode 100644 index 0000000..1072bb7 --- /dev/null +++ b/content/fediring/index.md | |||
@@ -0,0 +1,7 @@ | |||
1 | --- | ||
2 | title: Fediring | ||
3 | position: 100 | ||
4 | list_layout: grid | ||
5 | --- | ||
6 | |||
7 | [Fediring](https://fediring.net/) is a modern day external [webring](https://en.wikipedia.org/wiki/Webring) that lets you explore other fediverse users' personal websites. | ||
diff --git a/content/fediring/next.md b/content/fediring/next.md new file mode 100644 index 0000000..e254517 --- /dev/null +++ b/content/fediring/next.md | |||
@@ -0,0 +1,6 @@ | |||
1 | --- | ||
2 | title: Next website | ||
3 | position: 2 | ||
4 | post_icon: arrow-right | ||
5 | url: https://fediring.net/next?host=volpeon.ink | ||
6 | --- | ||
diff --git a/content/fediring/prev.md b/content/fediring/prev.md new file mode 100644 index 0000000..e4877b1 --- /dev/null +++ b/content/fediring/prev.md | |||
@@ -0,0 +1,6 @@ | |||
1 | --- | ||
2 | title: Previous website | ||
3 | position: 1 | ||
4 | icon: arrow-left | ||
5 | url: https://fediring.net/previous?host=volpeon.ink | ||
6 | --- | ||
diff --git a/content/symbols.svg b/content/symbols.svg index ab2e7eb..df6ddd9 100644 --- a/content/symbols.svg +++ b/content/symbols.svg | |||
@@ -8,6 +8,10 @@ | |||
8 | 8 | ||
9 | <symbol id="icon-blank" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"></symbol> | 9 | <symbol id="icon-blank" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"></symbol> |
10 | 10 | ||
11 | <symbol id="icon-arrow-left" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> | ||
12 | <path d="m7.25 3.75-4.5 4.5 4.5 4.5m-4.5-4.5h10.5" fill="none" stroke="currentColor" /> | ||
13 | </symbol> | ||
14 | |||
11 | <symbol id="icon-arrow-right" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> | 15 | <symbol id="icon-arrow-right" viewBox="0 0 16 16" preserveAspectRatio="xMinYMid"> |
12 | <path d="m8.75 3.75 4.5 4.5-4.5 4.5m-6-4.5h10.5" fill="none" stroke="currentColor" /> | 16 | <path d="m8.75 3.75 4.5 4.5-4.5 4.5m-6-4.5h10.5" fill="none" stroke="currentColor" /> |
13 | </symbol> | 17 | </symbol> |
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 |