summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlsof <lsof@mailbox.org>2026-04-30 19:05:44 +0200
committerlsof <lsof@mailbox.org>2026-04-30 19:05:44 +0200
commite265743f771095906e1f3ddb514d0609c4927861 (patch)
treebbe9d5caf2d539addc8a7c8cd0e7f4bcfa91416d
parentea9022fada6e402742d9f374405a23bc1e055481 (diff)
atom feeds
-rw-r--r--config.toml2
-rw-r--r--templates/base.html3
2 files changed, 5 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index 2b3f56d..0272506 100644
--- a/config.toml
+++ b/config.toml
@@ -1,6 +1,8 @@
# The URL the site will be built for
base_url = "/"
+generate_feeds = true
+
# Whether to automatically compile all Sass files in the sass directory
compile_sass = false
diff --git a/templates/base.html b/templates/base.html
index 5276d29..1147b88 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -6,6 +6,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %} {% endblock %}</title>
<link rel="stylesheet" href="/style.css"/>
+ {% block rss %}
+ <link rel="alternate" type="application/atom+xml" title="RSS" href="/atom.xml">
+ {% endblock %}
</head>
<body>