diff options
-rw-r--r-- | themes/default/layouts/_default/home.xslt.xsl | 13 |
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> |