aboutsummaryrefslogtreecommitdiff
path: root/theme/static
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-03-06 00:34:57 -0600
committerChristian Cleberg <[email protected]>2026-03-06 00:34:57 -0600
commit306590904d1012fa74e7335422dd5e074e0f38ec (patch)
tree3a4797eda6d74b48d6c2e719dc66a666d6101b20 /theme/static
parentcc998780182e05904235d4e2ba98700bd7402174 (diff)
downloadcleberg.net-306590904d1012fa74e7335422dd5e074e0f38ec.tar.gz
cleberg.net-306590904d1012fa74e7335422dd5e074e0f38ec.tar.bz2
cleberg.net-306590904d1012fa74e7335422dd5e074e0f38ec.zip
lowercase page titles
Diffstat (limited to 'theme/static')
-rw-r--r--theme/static/feed.xsl43
1 files changed, 29 insertions, 14 deletions
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"/> &#x2014; RSS 2.0
+ <footer><xsl:value-of select="/rss/channel/title"/> — RSS 2.0
</footer>
</body>
</html>