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 | 21 | ;; Define site metadata |
| 22 | 22 | (weblorg-site |
| 23 | 23 | :theme nil |
| 24 | | :template-vars '(("site_name" . "cleberg.net") |
| 24 | :template-vars '(("site_name" . "seijaku") |
| 25 | 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 | 28 | ;; Define routes for rendering content |
| 29 | 29 | |
theme/static/feed.xsl
+29 −14
| @@ -1,15 +1,12 @@ |
| 1 | 1 | <?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"> |
| 6 | 3 | <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> |
| 7 | 4 | <xsl:template match="/"> |
| 8 | 5 | <html lang="en"> |
| 9 | 6 | <head> |
| 10 | 7 | <meta charset="UTF-8"/> |
| 11 | 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 | 10 | <style> |
| 14 | 11 | :root { |
| 15 | 12 | color-scheme: light dark; |
| @@ -74,24 +71,42 @@ |
| 74 | 71 | <body> |
| 75 | 72 | <nav> |
| 76 | 73 | <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> |
| 80 | 83 | </ul> |
| 81 | 84 | </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> |
| 84 | 91 | <div class="notice"> |
| 85 | 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 | 93 | </div> |
| 87 | 94 | <xsl:for-each select="/rss/channel/item"> |
| 88 | 95 | <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> |
| 91 | 107 | </div> |
| 92 | 108 | </xsl:for-each> |
| 93 | | <footer> |
| 94 | | <xsl:value-of select="/rss/channel/title"/> — RSS 2.0 |
| 109 | <footer><xsl:value-of select="/rss/channel/title"/> — RSS 2.0 |
| 95 | 110 | </footer> |
| 96 | 111 | </body> |
| 97 | 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 |
| 2 | 2 | main %} |
| 3 | 3 | <h1>Blog</h1> |
| 4 | 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 | 2 | <h1>Garden</h1> |
| 3 | 3 | <p> |
| 4 | 4 | Notes in various states of growth. Some are stubs, some are developed. |
theme/templates/page.html
+1 −1
| @@ -1,7 +1,7 @@ |
| 1 | 1 | {% extends "base.html" %} |
| 2 | 2 | |
| 3 | 3 | {% block subtitle %} |
| 4 | | {{ post.title }} | |
| 4 | {{ post.title }} - |
| 5 | 5 | {% endblock %} |
| 6 | 6 | {% block main %} |
| 7 | 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 | 2 | {% block meta %} |
| 3 | 3 | <meta property="og:title" content="{{ post.title }}" /> |
| 4 | 4 | <meta property="og:url" content="{{ post.url }}" /> |