From 68b6d1eb607af5fb3e51391f8f12f1a95b405d56 Mon Sep 17 00:00:00 2001 From: soaos Date: Sat, 16 Aug 2025 14:59:19 -0400 Subject: Updated to work with ringfairy 0.2 --- data/templates/grid.html | 23 ++++++++++++++++++++++ data/templates/index.html | 47 +++++++++++++++++++++++++++++++++++++------- data/templates/random.html | 29 +++++++++++++++++++++++++++ data/templates/redirect.html | 18 +++++++++++++++++ data/templates/template.html | 18 ----------------- 5 files changed, 110 insertions(+), 25 deletions(-) create mode 100644 data/templates/grid.html create mode 100644 data/templates/random.html create mode 100644 data/templates/redirect.html delete mode 100644 data/templates/template.html (limited to 'data/templates') diff --git a/data/templates/grid.html b/data/templates/grid.html new file mode 100644 index 0000000..2c187b1 --- /dev/null +++ b/data/templates/grid.html @@ -0,0 +1,23 @@ + + + + + + {{ ring_name }} List + + +
+

{{ ring_name }} List

+

{{ ring_description }}

+

Add all sites with declared RSS feeds to your feed reader with this OPML link.

+ + {{ grid_of_sites | safe }} + +
+
+

Last updated: {{ current_time }}

+

Powered by ringfairy!

+
+
+ + diff --git a/data/templates/index.html b/data/templates/index.html index 86f3b19..e7f6503 100644 --- a/data/templates/index.html +++ b/data/templates/index.html @@ -1,22 +1,55 @@ - {{ ring_name }} List - - - -

{{ ring_name }} List

{{ ring_description }}

-

If you are evil email me your site at silas@soaos.dev.

Add all sites with declared RSS feeds to your feed reader with this OPML link.

- {{ table_of_sites | safe}} + + {% if sites %} + + + + + + + + + + + {% for site in sites %} + + + + + + + {% endfor %} + +
NameURLAboutOwner
{{ site.website.slug }} + {{ site.website.url }} + {% if site.website.rss %} + [rss] + {% endif %} + {% if site.website.atom %} + [atom] + {% endif %} + {{ site.website.about | default(value="") }}{{ site.website.owner | default(value="") }}
+ {% endif %} + {% if failed_sites %} + The following member sites were not included in this iteration of the webring: + + {% endif %} +