diff options
author | tdro <tdro@noreply.example.com> | 2022-12-01 23:35:55 -0500 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-12-01 23:35:55 -0500 |
commit | f174703fafd064be06552fd73c992b0b87fd92b3 (patch) | |
tree | 7aefb8f91ba418f84f13063a34a8cd8ee7a80c04 /themes/default/layouts/_default/home.xslt.xsl | |
parent | 2445874d6bba90c816f8537268d7f985316b1ce8 (diff) | |
download | canory-f174703fafd064be06552fd73c992b0b87fd92b3.tar.gz canory-f174703fafd064be06552fd73c992b0b87fd92b3.tar.bz2 canory-f174703fafd064be06552fd73c992b0b87fd92b3.zip |
themes/default/layouts/_default/rss.xml: Add atom:author to entry
To show name and image. Add feed generator signature to channel
Diffstat (limited to 'themes/default/layouts/_default/home.xslt.xsl')
-rw-r--r-- | themes/default/layouts/_default/home.xslt.xsl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/default/layouts/_default/home.xslt.xsl b/themes/default/layouts/_default/home.xslt.xsl index e271d67..c242f70 100644 --- a/themes/default/layouts/_default/home.xslt.xsl +++ b/themes/default/layouts/_default/home.xslt.xsl @@ -81,12 +81,12 @@ <micro-thumbnail> <figure> <a> - <xsl:attribute name="href"><xsl:value-of select="/rss/channel/link"/></xsl:attribute> + <xsl:attribute name="href"><xsl:value-of select="link"/></xsl:attribute> <picture> <img> - <xsl:attribute name="alt"><xsl:value-of select="/rss/channel/category"/></xsl:attribute> - <xsl:attribute name="title"><xsl:value-of select="/rss/channel/category"/></xsl:attribute> - <xsl:attribute name="src"><xsl:value-of select="/rss/channel/image/url"/></xsl:attribute> + <xsl:attribute name="alt"><xsl:value-of select="atom:author/atom:name"/></xsl:attribute> + <xsl:attribute name="title"><xsl:value-of select="atom:author/atom:name"/></xsl:attribute> + <xsl:attribute name="src"><xsl:value-of select="atom:author/atom:uri"/></xsl:attribute> </img> </picture> </a> |