From 1e130fb692b6c21b09b03bacdfd00600bb3982db Mon Sep 17 00:00:00 2001 From: Volpeon Date: Mon, 20 Dec 2021 11:19:50 +0100 Subject: Add fediring links --- content/fediring/index.md | 7 +++++++ content/fediring/next.md | 6 ++++++ content/fediring/prev.md | 6 ++++++ content/symbols.svg | 4 ++++ scripts/metadata_filter.lua | 8 ++++---- 5 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 content/fediring/index.md create mode 100644 content/fediring/next.md create mode 100644 content/fediring/prev.md 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 @@ +--- +title: Fediring +position: 100 +list_layout: grid +--- + +[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 @@ +--- +title: Next website +position: 2 +post_icon: arrow-right +url: https://fediring.net/next?host=volpeon.ink +--- 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 @@ +--- +title: Previous website +position: 1 +icon: arrow-left +url: https://fediring.net/previous?host=volpeon.ink +--- 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 @@ + + + + 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) url = p.url, thumbnail = p.thumbnail, icon = p.icon or meta.icon, - post_icon = meta.list_post_icon, + post_icon = p.post_icon or meta.list_post_icon, indicator = meta.list_read_indicators, } end) @@ -205,7 +205,7 @@ function generate_list(meta) url = p.url, thumbnail = p.thumbnail, icon = p.icon or cat.icon, - post_icon = cat.list_post_icon or meta.list_post_icon, + post_icon = p.post_icon or cat.list_post_icon or meta.list_post_icon, indicator = cat.list_read_indicators, } end) @@ -237,7 +237,7 @@ function generate_list(meta) url = p.url, thumbnail = p.thumbnail, icon = p.icon or c.icon, - post_icon = c.list_post_icon or cat.list_post_icon, + post_icon = p.post_icon or c.list_post_icon or cat.list_post_icon, indicator = c.list_read_indicators, } end) @@ -248,7 +248,7 @@ function generate_list(meta) subtitle = c.subtitle, url = c.url, icon = c.icon or cat.icon, - post_icon = cat.list_post_icon, + post_icon = c.post_icon or cat.list_post_icon, indicator = cat.list_read_indicators, }) return l -- cgit v1.2.3-54-g00ecf