commit: 1ea0bbaf9ded2dfb07523cb70438e7b3c422e545
parent a3b763e54c930b2107bb399999c6c6890479c8d3
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sun, 17 Mar 2024 15:17:29 +0100
atom.xsl: Display content when it is plain text
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/atom.xsl.in b/atom.xsl.in
@@ -32,6 +32,7 @@
<xsl:template match="atom:entry">
<a href="{atom:id}"><h2><xsl:value-of select="atom:title"/></h2></a>
<p class="timestamps"><xsl:apply-templates select="atom:published"/><xsl:apply-templates select="atom:updated"/></p>
+ <xsl:if test="atom:content[@type='text']"><p><xsl:value-of select="atom:content"/></p></xsl:if>
</xsl:template>
<xsl:template match="atom:published">published on <xsl:value-of select="."/></xsl:template>