Skip to content
Browse files

Make use of favicon specified in the config file

  • Loading branch information...
1 parent 68d8233 commit 6468d23e7396d593599b6d38eebf70b1d9f294e9 @rubys committed Feb 11, 2011
Showing with 8 additions and 3 deletions.
  1. +8 −3 themes/asf/index.html.xslt
View
11 themes/asf/index.html.xslt
@@ -193,9 +193,14 @@
<!-- entry title -->
<xsl:text>&#10;</xsl:text>
<h3>
- <xsl:if test="atom:source/atom:icon">
- <img src="{atom:source/atom:icon}" class="icon"/>
- </xsl:if>
+ <xsl:choose>
+ <xsl:when test="atom:source/atom:icon">
+ <img src="{atom:source/atom:icon}" class="icon"/>
+ </xsl:when>
+ <xsl:when test="atom:source/planet:favicon">
+ <img src="{atom:source/planet:favicon}" class="icon"/>
+ </xsl:when>
+ </xsl:choose>
<a>
<xsl:if test="atom:source/atom:link[@rel='alternate']/@href">
<xsl:attribute name="href">

0 comments on commit 6468d23

Please sign in to comment.
Something went wrong with that request. Please try again.