aboutsummaryrefslogtreecommitdiff
path: root/theme/templates/feed.xml
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-08-11 20:34:02 -0500
committerChristian Cleberg <[email protected]>2026-08-11 20:35:15 -0500
commita6ee2e0ca79b83b7f6bd4a521777cffdaf2260f2 (patch)
tree984019a98b20789890566c595b52d5ddc8b21064 /theme/templates/feed.xml
parent0b3783a396ad74a869639b74719c3a3769e4b6e5 (diff)
downloadcleberg.net-a6ee2e0ca79b83b7f6bd4a521777cffdaf2260f2.tar.gz
cleberg.net-a6ee2e0ca79b83b7f6bd4a521777cffdaf2260f2.tar.bz2
cleberg.net-a6ee2e0ca79b83b7f6bd4a521777cffdaf2260f2.zip
Finish the move off weblorg
Remove what the migration left behind, then cut build.py down to the work orgo does not do: 443 lines to 168. - Delete publish.el and theme/templates/, superseded by content/orgo.toml and content/templates/. theme/static/ stays; orgo publishes it as assets. - Drop the tag builder, the org-source copy, and the helpers that only fed them. orgo generates /tags/ and a page per tag from a collection. - Rewrite the README and the migration-era comments that explained the config by pointing at what weblorg used to do. - Serve styles.css as authored. Minifying 1KB of CSS saved 52 bytes over the wire once compressed, which did not pay for a build step and a toolchain dependency. - Stop wiping the output directory. The .orgo-cache.json inside it is what makes a build incremental, and orgo already prunes outputs whose source is gone and re-emits any that are missing. Production keeps .build/ and development gets .build-dev/, because production rewrites image URLs in the output and a shared directory would let one environment reuse pages rendered for the other. An incremental build is byte-identical to a clean one, and the site output is unchanged apart from the /uses/ stack row.
Diffstat (limited to 'theme/templates/feed.xml')
-rw-r--r--theme/templates/feed.xml37
1 files changed, 0 insertions, 37 deletions
diff --git a/theme/templates/feed.xml b/theme/templates/feed.xml
deleted file mode 100644
index 7b23994..0000000
--- a/theme/templates/feed.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<rss version="2.0"
- xmlns:content="http://purl.org/rss/1.0/modules/content/"
- xmlns:wfw="http://wellformedweb.org/CommentAPI/"
- xmlns:dc="http://purl.org/dc/elements/1.1/"
- xmlns:atom="http://www.w3.org/2005/Atom"
- xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
- xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
- xmlns:georss="http://www.georss.org/georss"
- xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"
- xmlns:media="http://search.yahoo.com/mrss/">
- <channel>
- <title>{{ site_name | default("cleberg.net") }}</title>
- <atom:link
- href="{{ url_for("rss") }}"
- rel="self" type="application/rss+xml" />
- <link>{{ url_for("index") }}</link>
- <description><![CDATA[]]></description>
- <language>en</language>
- <pubDate>{{ posts | first | getattr("date") | strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
- <lastBuildDate>{{ now() | strftime("%a, %d %b %Y %H:%M:%S %z") }}</lastBuildDate>
- <generator>{{ meta.generator }}</generator>
- <webMaster>{{ site_owner | default("[email protected]") }}</webMaster>
-
- {% for post in posts %}
- <item>
- <title>{{ post.title }}</title>
- <link>{{ url_for("blog", slug=post.slug) }}</link>
- <author>{{ post.author|default("[email protected]") }}</author>
- <guid isPermaLink="false">{{ url_for("blog", slug=post.slug) }}</guid>
- <pubDate>{{ post.date|strftime("%a, %d %b %Y %H:%M:%S %z") }}</pubDate>
- <description><![CDATA[{{ post.html|safe }}]]></description>
- </item>
- {% endfor %}
-
- </channel>
-</rss>