Commit 632c33f662

632c33f662d93b73a67794bd7259e6b4a575411b

parent: cedcd2ec89

Unsigned

cmc <hello@cleberg.net> · 2024-04-05 23:57 UTC

update RSS URL and remove unused image tag

Layout: unified · split

publish.el +3 −3
@@ -85,9 +85,9 @@
8585 :name "rss"
8686 :input-pattern "content/blog/*.org"
8787 :input-aggregate #'weblorg-input-aggregate-all-desc
88 :template "atom.xml"
89 :output ".build/atom.xml"
90 :url "/atom.xml")
88 :template "feed.xml"
89 :output ".build/feed.xml"
90 :url "/feed.xml")
9191
9292;; route for static assets that also copies files to .build directory
9393(weblorg-copy-static
theme/templates/blog.html +1 −1
@@ -4,7 +4,7 @@
44{% block main %}
55 <h1>Blog</h1>
66 <p>Use <code>Ctrl + F</code> to search blog post titles for keywords.</p>
7 <p>You can also add the <a href="/atom.xml">RSS Feed</a> to your feed reader.</p>
7 <p>You can also add the <a href="/feed.xml">RSS Feed</a> to your feed reader.</p>
88 {% for post in posts %}
99 <div class="post">
1010 <time datetime="{{ post.date | strftime("%Y-%m-%d") }}">&lt;{{ post.date|strftime("%Y-%m-%d") }}&gt;</time>
theme/templates/atom.xml → theme/templates/feed.xml renamed −5
@@ -21,11 +21,6 @@
2121 <lastBuildDate>{{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
2222 <generator>{{ meta.generator }}</generator>
2323 <webMaster>{{ site_owner | default("hello@cleberg.net") }}</webMaster>
24 <image>
25 <url>{{ url_for("index") }}media/img/8bitme.png</url>
26 <title>Blog Author</title>
27 <link>{{ url_for("index") }}</link>
28 </image>
2924
3025 {% for post in posts %}
3126 <item>