Skip to content
This repository
Browse code

Make use of favicon specified in the config file

  • Loading branch information...
commit 6468d23e7396d593599b6d38eebf70b1d9f294e9 1 parent 68d8233
Sam Ruby authored February 11, 2011

Showing 1 changed file with 8 additions and 3 deletions. Show diff stats Hide diff stats

  1. 11  themes/asf/index.html.xslt
11  themes/asf/index.html.xslt
@@ -193,9 +193,14 @@
193 193
       <!-- entry title -->
194 194
       <xsl:text>&#10;</xsl:text>
195 195
       <h3>
196  
-        <xsl:if test="atom:source/atom:icon">
197  
-          <img src="{atom:source/atom:icon}" class="icon"/>
198  
-        </xsl:if>
  196
+        <xsl:choose>
  197
+          <xsl:when test="atom:source/atom:icon">
  198
+            <img src="{atom:source/atom:icon}" class="icon"/>
  199
+          </xsl:when>
  200
+          <xsl:when test="atom:source/planet:favicon">
  201
+            <img src="{atom:source/planet:favicon}" class="icon"/>
  202
+          </xsl:when>
  203
+        </xsl:choose>
199 204
         <a>
200 205
           <xsl:if test="atom:source/atom:link[@rel='alternate']/@href">
201 206
             <xsl:attribute name="href">

0 notes on commit 6468d23

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