aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--publish.el6
-rw-r--r--theme/templates/blog.html2
-rw-r--r--theme/templates/feed.xml (renamed from theme/templates/atom.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
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>