aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-11-08 19:39:58 -0500
committertdro <tdro@noreply.example.com>2022-11-08 19:39:58 -0500
commitce2e51cf2a092d7487213cca38602f034ddf7fd6 (patch)
treeb687b8e331bcc2db8922843a879e53a2c1b13fb0
parent37c45379ec83d07247b39a087e4bd6faa8f895cc (diff)
downloadcanory-ce2e51cf2a092d7487213cca38602f034ddf7fd6.tar.gz
canory-ce2e51cf2a092d7487213cca38602f034ddf7fd6.tar.bz2
canory-ce2e51cf2a092d7487213cca38602f034ddf7fd6.zip
themes/default/layouts/_default/home.xslt: Use printf on declaration header
Minor formatting adjustments
-rw-r--r--themes/default/layouts/_default/home.xslt.xsl13
1 files changed, 10 insertions, 3 deletions
diff --git a/themes/default/layouts/_default/home.xslt.xsl b/themes/default/layouts/_default/home.xslt.xsl
index 1085ef5..eed4c6e 100644
--- a/themes/default/layouts/_default/home.xslt.xsl
+++ b/themes/default/layouts/_default/home.xslt.xsl
@@ -1,5 +1,11 @@
-{{- print "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | safeHTML }}
-<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/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="3.0">
+{{- printf `<?xml version="1.0" encoding="utf-8"?>` | safeHTML }}
+<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/"
+ xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
+ version="3.0"
+>
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html data="xml" xmlns="http://www.w3.org/1999/xhtml">
@@ -74,7 +80,8 @@
<micro-summary>
<micro-thumbnail>
<figure>
- <a><xsl:attribute name="href"><xsl:value-of select="/rss/channel/link"/></xsl:attribute>
+ <a>
+ <xsl:attribute name="href"><xsl:value-of select="/rss/channel/link"/></xsl:attribute>
<picture>
<img>
<xsl:attribute name="alt"><xsl:value-of select="/rss/channel/category"/></xsl:attribute>