Commit 306590904d

306590904d1012fa74e7335422dd5e074e0f38ec

parent: cc99878018

Verified · cmc

cmc <hello@cleberg.net> · 2026-03-06 06:34 UTC

lowercase page titles

Layout: unified · split

publish.el +2 −2
@@ -21,9 +21,9 @@
2121;; Define site metadata
2222(weblorg-site
2323 :theme nil
24 :template-vars '(("site_name" . "cleberg.net")
24 :template-vars '(("site_name" . "seijaku")
2525 ("site_owner" . "Christian Cleberg <hello@cleberg.net>")
26 ("site_description" . "Just a blip of ones and zeroes.")))
26 ("site_description" . "Stillness in the middle of it all.")))
2727
2828;; Define routes for rendering content
2929
theme/static/feed.xsl +29 −14
@@ -1,15 +1,12 @@
11<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
3 xmlns:atom="http://www.w3.org/2005/Atom"
4 xmlns:dc="http://purl.org/dc/elements/1.1/"
5 exclude-result-prefixes="atom dc">
2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="1.0" exclude-result-prefixes="atom dc">
63 <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
74 <xsl:template match="/">
85 <html lang="en">
96 <head>
107 <meta charset="UTF-8"/>
118 <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
12 <title><xsl:value-of select="/rss/channel/title"/> — RSS Feed</title>
9 <title>rss - <xsl:value-of select="/rss/channel/title"/></title>
1310 <style>
1411 :root {
1512 color-scheme: light dark;
@@ -74,24 +71,42 @@
7471 <body>
7572 <nav>
7673 <ul>
77 <li><a href="/">Home</a></li>
78 <li><a href="/blog">Blog</a></li>
79 <li><a href="/garden">Garden</a></li>
74 <li>
75 <a href="/">Home</a>
76 </li>
77 <li>
78 <a href="/blog">Blog</a>
79 </li>
80 <li>
81 <a href="/garden">Garden</a>
82 </li>
8083 </ul>
8184 </nav>
82 <h1><xsl:value-of select="/rss/channel/title"/></h1>
83 <p class="description"><xsl:value-of select="/rss/channel/description"/></p>
85 <h1>
86 <xsl:value-of select="/rss/channel/title"/>
87 </h1>
88 <p class="description">
89 <xsl:value-of select="/rss/channel/description"/>
90 </p>
8491 <div class="notice">
8592 This is an RSS feed. Copy <code><xsl:value-of select="/rss/channel/atom:link/@href"/></code> into your feed reader to subscribe.
8693 </div>
8794 <xsl:for-each select="/rss/channel/item">
8895 <div class="post">
89 <time><xsl:value-of select="pubDate"/></time>
90 <h2><a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a></h2>
96 <time>
97 <xsl:value-of select="pubDate"/>
98 </time>
99 <h2>
100 <a>
101 <xsl:attribute name="href">
102 <xsl:value-of select="link"/>
103 </xsl:attribute>
104 <xsl:value-of select="title"/>
105 </a>
106 </h2>
91107 </div>
92108 </xsl:for-each>
93 <footer>
94 <xsl:value-of select="/rss/channel/title"/> &#x2014; RSS 2.0
109 <footer><xsl:value-of select="/rss/channel/title"/> — RSS 2.0
95110 </footer>
96111 </body>
97112 </html>
theme/templates/blog.html +1 −1
@@ -1,4 +1,4 @@
1{% extends "base.html" %} {% block subtitle %}Blog | {% endblock %} {% block
1{% extends "base.html" %} {% block subtitle %}blog - {% endblock %} {% block
22main %}
33<h1>Blog</h1>
44<p>
theme/templates/garden.html +1 −1
@@ -1,4 +1,4 @@
1{% extends "base.html" %} {% block subtitle %}Garden | {% endblock %} {% block main %}
1{% extends "base.html" %} {% block subtitle %}garden - {% endblock %} {% block main %}
22<h1>Garden</h1>
33<p>
44 Notes in various states of growth. Some are stubs, some are developed.
theme/templates/page.html +1 −1
@@ -1,7 +1,7 @@
11{% extends "base.html" %}
22
33{% block subtitle %}
4 {{ post.title }} |
4 {{ post.title }} -
55{% endblock %}
66{% block main %}
77<article>
theme/templates/post.html +1 −1
@@ -1,4 +1,4 @@
1{% extends "base.html" %} {% block subtitle %} {{ post.title }} | {% endblock %}
1{% extends "base.html" %} {% block subtitle %} {{ post.title }} - {% endblock %}
22{% block meta %}
33<meta property="og:title" content="{{ post.title }}" />
44<meta property="og:url" content="{{ post.url }}" />