diff options
| author | Christian Cleberg <[email protected]> | 2026-03-06 00:34:57 -0600 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-03-06 00:34:57 -0600 |
| commit | 306590904d1012fa74e7335422dd5e074e0f38ec (patch) | |
| tree | 3a4797eda6d74b48d6c2e719dc66a666d6101b20 | |
| parent | cc998780182e05904235d4e2ba98700bd7402174 (diff) | |
| download | cleberg.net-306590904d1012fa74e7335422dd5e074e0f38ec.tar.gz cleberg.net-306590904d1012fa74e7335422dd5e074e0f38ec.tar.bz2 cleberg.net-306590904d1012fa74e7335422dd5e074e0f38ec.zip | |
lowercase page titles
| -rw-r--r-- | publish.el | 4 | ||||
| -rw-r--r-- | theme/static/feed.xsl | 43 | ||||
| -rw-r--r-- | theme/templates/blog.html | 2 | ||||
| -rw-r--r-- | theme/templates/garden.html | 2 | ||||
| -rw-r--r-- | theme/templates/page.html | 2 | ||||
| -rw-r--r-- | theme/templates/post.html | 2 |
6 files changed, 35 insertions, 20 deletions
@@ -21,9 +21,9 @@ ;; Define site metadata (weblorg-site :theme nil - :template-vars '(("site_name" . "cleberg.net") + :template-vars '(("site_name" . "seijaku") ("site_owner" . "Christian Cleberg <[email protected]>") - ("site_description" . "Just a blip of ones and zeroes."))) + ("site_description" . "Stillness in the middle of it all."))) ;; Define routes for rendering content diff --git a/theme/static/feed.xsl b/theme/static/feed.xsl index 3e98275..a779176 100644 --- a/theme/static/feed.xsl +++ b/theme/static/feed.xsl @@ -1,15 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet version="1.0" 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/" - exclude-result-prefixes="atom dc"> +<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"> <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <html lang="en"> <head> <meta charset="UTF-8"/> <meta name="viewport" content="width=device-width, initial-scale=1.0"/> - <title><xsl:value-of select="/rss/channel/title"/> — RSS Feed</title> + <title>rss - <xsl:value-of select="/rss/channel/title"/></title> <style> :root { color-scheme: light dark; @@ -74,24 +71,42 @@ <body> <nav> <ul> - <li><a href="/">Home</a></li> - <li><a href="/blog">Blog</a></li> - <li><a href="/garden">Garden</a></li> + <li> + <a href="/">Home</a> + </li> + <li> + <a href="/blog">Blog</a> + </li> + <li> + <a href="/garden">Garden</a> + </li> </ul> </nav> - <h1><xsl:value-of select="/rss/channel/title"/></h1> - <p class="description"><xsl:value-of select="/rss/channel/description"/></p> + <h1> + <xsl:value-of select="/rss/channel/title"/> + </h1> + <p class="description"> + <xsl:value-of select="/rss/channel/description"/> + </p> <div class="notice"> This is an RSS feed. Copy <code><xsl:value-of select="/rss/channel/atom:link/@href"/></code> into your feed reader to subscribe. </div> <xsl:for-each select="/rss/channel/item"> <div class="post"> - <time><xsl:value-of select="pubDate"/></time> - <h2><a><xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute><xsl:value-of select="title"/></a></h2> + <time> + <xsl:value-of select="pubDate"/> + </time> + <h2> + <a> + <xsl:attribute name="href"> + <xsl:value-of select="link"/> + </xsl:attribute> + <xsl:value-of select="title"/> + </a> + </h2> </div> </xsl:for-each> - <footer> - <xsl:value-of select="/rss/channel/title"/> — RSS 2.0 + <footer><xsl:value-of select="/rss/channel/title"/> — RSS 2.0 </footer> </body> </html> diff --git a/theme/templates/blog.html b/theme/templates/blog.html index fabdff1..0b690ab 100644 --- a/theme/templates/blog.html +++ b/theme/templates/blog.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} {% block subtitle %}Blog | {% endblock %} {% block +{% extends "base.html" %} {% block subtitle %}blog - {% endblock %} {% block main %} <h1>Blog</h1> <p> diff --git a/theme/templates/garden.html b/theme/templates/garden.html index 81ad37c..2c51706 100644 --- a/theme/templates/garden.html +++ b/theme/templates/garden.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} {% block subtitle %}Garden | {% endblock %} {% block main %} +{% extends "base.html" %} {% block subtitle %}garden - {% endblock %} {% block main %} <h1>Garden</h1> <p> Notes in various states of growth. Some are stubs, some are developed. diff --git a/theme/templates/page.html b/theme/templates/page.html index 96735a6..b670771 100644 --- a/theme/templates/page.html +++ b/theme/templates/page.html @@ -1,7 +1,7 @@ {% extends "base.html" %} {% block subtitle %} - {{ post.title }} | + {{ post.title }} - {% endblock %} {% block main %} <article> diff --git a/theme/templates/post.html b/theme/templates/post.html index 780a959..8cc9e2e 100644 --- a/theme/templates/post.html +++ b/theme/templates/post.html @@ -1,4 +1,4 @@ -{% extends "base.html" %} {% block subtitle %} {{ post.title }} | {% endblock %} +{% extends "base.html" %} {% block subtitle %} {{ post.title }} - {% endblock %} {% block meta %} <meta property="og:title" content="{{ post.title }}" /> <meta property="og:url" content="{{ post.url }}" /> |
