summaryrefslogtreecommitdiff
path: root/src/templates/style_xsl.tmpl
diff options
context:
space:
mode:
authorache <ache@ache.one>2025-03-02 08:28:21 +0100
committerache <ache@ache.one>2025-03-02 08:28:21 +0100
commit0c2a0d5d4983fc09f8478c0702cf63391521c807 (patch)
treee3579a17967ec75e5b91890205044e27c6c291b1 /src/templates/style_xsl.tmpl
parentAdd git ignore files (diff)
Validate RSS
Diffstat (limited to 'src/templates/style_xsl.tmpl')
-rw-r--r--src/templates/style_xsl.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/templates/style_xsl.tmpl b/src/templates/style_xsl.tmpl
index 5785c3f..cea7fde 100644
--- a/src/templates/style_xsl.tmpl
+++ b/src/templates/style_xsl.tmpl
@@ -150,15 +150,15 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:value-of select="title"/>
</h2>
</a>
- <xsl:if test="logo != '' and logo != '/'">
+ <xsl:if test="enclosure/@url != ''">
<img width="200px" style="display:inline-block;vertical-align:top;margin:20px;">
<xsl:attribute name="src">
- <xsl:value-of select="logo"/>
+ <xsl:value-of select="enclosure/@url"/>
</xsl:attribute>
</img>
</xsl:if>
<p style="display:inline-block; width: calc(100% - 240px);">
- <xsl:value-of select='intro'/>
+ <xsl:value-of select='description'/>
</p>
</article>
</html>