Skip to content

Commit

Permalink
Make use of favicon specified in the config file
Browse files Browse the repository at this point in the history
  • Loading branch information
rubys committed Feb 11, 2011
1 parent 68d8233 commit 6468d23
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions themes/asf/index.html.xslt
Expand Up @@ -193,9 +193,14 @@
<!-- entry title --> <!-- entry title -->
<xsl:text>&#10;</xsl:text> <xsl:text>&#10;</xsl:text>
<h3> <h3>
<xsl:if test="atom:source/atom:icon"> <xsl:choose>
<img src="{atom:source/atom:icon}" class="icon"/> <xsl:when test="atom:source/atom:icon">
</xsl:if> <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> <a>
<xsl:if test="atom:source/atom:link[@rel='alternate']/@href"> <xsl:if test="atom:source/atom:link[@rel='alternate']/@href">
<xsl:attribute name="href"> <xsl:attribute name="href">
Expand Down

0 comments on commit 6468d23

Please sign in to comment.