Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Make use of favicon specified in the config file

  • Loading branch information...
commit 6468d23e7396d593599b6d38eebf70b1d9f294e9 1 parent 68d8233
@rubys authored
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">
Please sign in to comment.
Something went wrong with that request. Please try again.