cmc/cleberg.net

My personal web garden & blog.

clone: git clone https://gitbay.org/cmc/cleberg.net.git

632c33f662d93b73a67794bd7259e6b4a575411b

unsigned

author: Christian Cleberg <hello@cleberg.net> · 2024-04-05T23:57:06Z

update RSS URL and remove unused image tag
 publish.el                             | 6 +++---
 theme/templates/blog.html              | 2 +-
 theme/templates/{atom.xml => feed.xml} | 5 -----
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/publish.el b/publish.el
index ff017e8..0728362 100644
--- a/publish.el
+++ b/publish.el
@@ -85,9 +85,9 @@
  :name "rss"
  :input-pattern "content/blog/*.org"
  :input-aggregate #'weblorg-input-aggregate-all-desc
- :template "atom.xml"
- :output ".build/atom.xml"
- :url "/atom.xml")
+ :template "feed.xml"
+ :output ".build/feed.xml"
+ :url "/feed.xml")
 
 ;; route for static assets that also copies files to .build directory
 (weblorg-copy-static
diff --git a/theme/templates/blog.html b/theme/templates/blog.html
index d54417b..b3b3a3f 100644
--- a/theme/templates/blog.html
+++ b/theme/templates/blog.html
@@ -4,7 +4,7 @@
 {% block main %}
 	<h1>Blog</h1>
 	<p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p>
-	<p>You can also add the <a href="/atom.xml">RSS Feed</a> to your feed reader.</p>
+	<p>You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.</p>
 	{% for post in posts %}
 	<div class="post">
 		<time datetime="{{ post.date | strftime("%Y-%m-%d") }}">&lt;{{ post.date|strftime("%Y-%m-%d") }}&gt;</time>
diff --git a/theme/templates/atom.xml b/theme/templates/feed.xml
similarity index 90%
rename from theme/templates/atom.xml
rename to theme/templates/feed.xml
index 8ff1e30..d3f25db 100644
--- a/theme/templates/atom.xml
+++ b/theme/templates/feed.xml
@@ -21,11 +21,6 @@
     <lastBuildDate>{{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
     <generator>{{ meta.generator }}</generator>
     <webMaster>{{ site_owner | default("hello@cleberg.net") }}</webMaster>
-    <image>
-      <url>{{ url_for("index") }}media/img/8bitme.png</url>
-      <title>Blog Author</title>
-      <link>{{ url_for("index") }}</link>
-    </image>
 
     {% for post in posts %}
     <item>