From 84b3e8f0473f4ebf687a9df1a0571541827ce0a5 Mon Sep 17 00:00:00 2001
From: Dominik George <dominik.george@teckids.org>
Date: Tue, 17 Aug 2021 15:51:01 +0200
Subject: [PATCH] Source news feeds of project websites

---
 pelicanconf.py | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/pelicanconf.py b/pelicanconf.py
index f4da50c7..363e986d 100644
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -2,6 +2,8 @@
 # -*- coding: utf-8 -*- #
 from __future__ import unicode_literals
 
+import sys
+
 from pelican_theme_teckids.pelicanconf import *
 
 AUTHOR = "Teckids e.V."
@@ -30,7 +32,7 @@ AUTHOR_FEED_ATOM = None
 AUTHOR_FEED_RSS = None
 
 PLUGIN_PATHS = ["plugins"]
-PLUGINS = ["i18n_subsites", "sitemap", "summary", "jinja2content"]
+PLUGINS = ["i18n_subsites", "sitemap", "summary", "jinja2content", "webring"]
 MARKDOWN = {
     "extension_configs": {
         "markdown.extensions.attr_list": {},
@@ -38,6 +40,15 @@ MARKDOWN = {
     }
 }
 
+WEBRING_FEED_URLS = [
+    "https://hacknfun.camp/feeds/de.atom.xml",
+    "https://schul-frei.dev/feeds/de.atom.xml",
+    "https://leopard.institute/feeds/de.atom.xml",
+]
+WEBRING_MAX_ARTICLES = sys.maxsize
+WEBRING_ARTICLES_PER_FEED = sys.maxsize
+WEBRING_SUMMARY_WORDS = 0
+
 # Navbar
 MENUITEMS = [
     ("Startseite", "index.html"),
-- 
GitLab