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 @@ |
| 85 | 85 | :name "rss" |
| 86 | 86 | :input-pattern "content/blog/*.org" |
| 87 | 87 | :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") |
| 91 | 91 | |
| 92 | 92 | ;; route for static assets that also copies files to .build directory |
| 93 | 93 | (weblorg-copy-static |
theme/templates/blog.html
+1 −1
| @@ -4,7 +4,7 @@ |
| 4 | 4 | {% block main %} |
| 5 | 5 | <h1>Blog</h1> |
| 6 | 6 | <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> |
| 8 | 8 | {% for post in posts %} |
| 9 | 9 | <div class="post"> |
| 10 | 10 | <time datetime="{{ post.date | strftime("%Y-%m-%d") }}"><{{ post.date|strftime("%Y-%m-%d") }}></time> |
theme/templates/atom.xml → theme/templates/feed.xml
renamed
−5
| @@ -21,11 +21,6 @@ |
| 21 | 21 | <lastBuildDate>{{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate> |
| 22 | 22 | <generator>{{ meta.generator }}</generator> |
| 23 | 23 | <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> |
| 29 | 24 | |
| 30 | 25 | {% for post in posts %} |
| 31 | 26 | <item> |