From b88c1dc84d04ced9c1d1749a458bc938124573bd Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 16 Sep 2023 12:34:25 +0200 Subject: Fix XML feed style --- templates/atom.xml | 2 +- templates/feed-styles.html | 71 +++++++++++++++++++++++++--------------------- 2 files changed, 39 insertions(+), 34 deletions(-) (limited to 'templates') diff --git a/templates/atom.xml b/templates/atom.xml index 3fd5dee..81c9a76 100644 --- a/templates/atom.xml +++ b/templates/atom.xml @@ -1,5 +1,5 @@ - + {{ config.title }} {%- if term %} - {{ term.name }} diff --git a/templates/feed-styles.html b/templates/feed-styles.html index 66dac33..a66ddc0 100644 --- a/templates/feed-styles.html +++ b/templates/feed-styles.html @@ -1,55 +1,60 @@ <?xml version="1.0" encoding="utf-8"?> -<xsl:stylesheet version="3.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:atom="http://www.w3.org/2005/Atom"> - <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/> +<xsl:stylesheet + version="3.0" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:atom="http://www.w3.org/2005/Atom" +> + <xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes" /> <xsl:template match="/"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en"> <head> - <title> - RSS Feed | - <xsl:value-of select="/atom:feed/atom:title"/> - - - - + RSS Feed | <xsl:value-of select="/atom:feed/atom:title"/> + + +
- This is an RSS feed. Subscribe by copying - the URL from the address bar into your newsreader. Visit + This is an RSS feed. Subscribe by copying the URL + from the address bar into your newsreader. Visit About Feeds to learn more and get started. It's free.

- - - - - + + + + + + fill="#FFF" + /> + fill="#FFF" + /> RSS Feed Preview | - +