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 @@
21;; Define site metadata 21;; Define site metadata
22(weblorg-site 22(weblorg-site
23 :theme nil 23 :theme nil
24 :template-vars '(("site_name" . "cleberg.net") 24 :template-vars '(("site_name" . "seijaku")
25 ("site_owner" . "Christian Cleberg <hello@cleberg.net>") 25 ("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.")))
27 27
28;; Define routes for rendering content 28;; Define routes for rendering content
29 29
theme/static/feed.xsl +29 −14
@@ -1,15 +1,12 @@
1<?xml version="1.0" encoding="UTF-8"?> 1<?xml version="1.0" encoding="UTF-8"?>
2<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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">
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">
6 <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> 3 <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
7 <xsl:template match="/"> 4 <xsl:template match="/">
8 <html lang="en"> 5 <html lang="en">
9 <head> 6 <head>
10 <meta charset="UTF-8"/> 7 <meta charset="UTF-8"/>
11 <meta name="viewport" content="width=device-width, initial-scale=1.0"/> 8 <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>
13 <style> 10 <style>
14 :root { 11 :root {
15 color-scheme: light dark; 12 color-scheme: light dark;
@@ -74,24 +71,42 @@
74 <body> 71 <body>
75 <nav> 72 <nav>
76 <ul> 73 <ul>
77 <li><a href="/">Home</a></li> 74 <li>
78 <li><a href="/blog">Blog</a></li> 75 <a href="/">Home</a>
79 <li><a href="/garden">Garden</a></li> 76 </li>
77 <li>
78 <a href="/blog">Blog</a>
79 </li>
80 <li>
81 <a href="/garden">Garden</a>
82 </li>
80 </ul> 83 </ul>
81 </nav> 84 </nav>
82 <h1><xsl:value-of select="/rss/channel/title"/></h1> 85 <h1>
83 <p class="description"><xsl:value-of select="/rss/channel/description"/></p> 86 <xsl:value-of select="/rss/channel/title"/>
87 </h1>
88 <p class="description">
89 <xsl:value-of select="/rss/channel/description"/>
90 </p>
84 <div class="notice"> 91 <div class="notice">
85 This is an RSS feed. Copy <code><xsl:value-of select="/rss/channel/atom:link/@href"/></code> into your feed reader to subscribe. 92 This is an RSS feed. Copy <code><xsl:value-of select="/rss/channel/atom:link/@href"/></code> into your feed reader to subscribe.
86 </div> 93 </div>
87 <xsl:for-each select="/rss/channel/item"> 94 <xsl:for-each select="/rss/channel/item">
88 <div class="post"> 95 <div class="post">
89 <time><xsl:value-of select="pubDate"/></time> 96 <time>
90 <h2><a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a></h2> 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>
91 </div> 107 </div>
92 </xsl:for-each> 108 </xsl:for-each>
93 <footer> 109 <footer><xsl:value-of select="/rss/channel/title"/> — RSS 2.0
94 <xsl:value-of select="/rss/channel/title"/> &#x2014; RSS 2.0
95 </footer> 110 </footer>
96 </body> 111 </body>
97 </html> 112 </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
2main %} 2main %}
3<h1>Blog</h1> 3<h1>Blog</h1>
4<p> 4<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 %}
2<h1>Garden</h1> 2<h1>Garden</h1>
3<p> 3<p>
4 Notes in various states of growth. Some are stubs, some are developed. 4 Notes in various states of growth. Some are stubs, some are developed.
theme/templates/page.html +1 −1
@@ -1,7 +1,7 @@
1{% extends "base.html" %} 1{% extends "base.html" %}
2 2
3{% block subtitle %} 3{% block subtitle %}
4 {{ post.title }} | 4 {{ post.title }} -
5{% endblock %} 5{% endblock %}
6{% block main %} 6{% block main %}
7<article> 7<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 %}
2{% block meta %} 2{% block meta %}
3<meta property="og:title" content="{{ post.title }}" /> 3<meta property="og:title" content="{{ post.title }}" />
4<meta property="og:url" content="{{ post.url }}" /> 4<meta property="og:url" content="{{ post.url }}" />