Theme updates
This commit is contained in:
parent
e25fb76ff2
commit
918e1b02b4
@ -421,7 +421,7 @@ for i in range(0,len(weighted_links)):
|
|||||||
|
|
||||||
# technorati link
|
# technorati link
|
||||||
a = li.newChild(None, 'a', None)
|
a = li.newChild(None, 'a', None)
|
||||||
tlink = 'http://technorati.com/cosmos/search.html?url='
|
tlink = 'http://technorati.com/blogs/'
|
||||||
if link.startswith('http://'):
|
if link.startswith('http://'):
|
||||||
a.setProp('href',tlink + quote_plus(link[7:]))
|
a.setProp('href',tlink + quote_plus(link[7:]))
|
||||||
else:
|
else:
|
||||||
|
@ -108,7 +108,13 @@
|
|||||||
<xsl:text> </xsl:text>
|
<xsl:text> </xsl:text>
|
||||||
|
|
||||||
<!-- name -->
|
<!-- name -->
|
||||||
<a href="{atom:link[@rel='alternate']/@href}">
|
<a>
|
||||||
|
<xsl:if test="atom:link[@rel='alternate']/@href">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of select="atom:link[@rel='alternate']/@href"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="planet:message">
|
<xsl:when test="planet:message">
|
||||||
<xsl:attribute name="class">
|
<xsl:attribute name="class">
|
||||||
@ -189,7 +195,14 @@
|
|||||||
<xsl:if test="atom:source/atom:icon">
|
<xsl:if test="atom:source/atom:icon">
|
||||||
<img src="{atom:source/atom:icon}" class="icon"/>
|
<img src="{atom:source/atom:icon}" class="icon"/>
|
||||||
</xsl:if>
|
</xsl:if>
|
||||||
<a href="{atom:source/atom:link[@rel='alternate']/@href}">
|
<a>
|
||||||
|
<xsl:if test="atom:source/atom:link[@rel='alternate']/@href">
|
||||||
|
<xsl:attribute name="href">
|
||||||
|
<xsl:value-of
|
||||||
|
select="atom:source/atom:link[@rel='alternate']/@href"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
</xsl:if>
|
||||||
|
|
||||||
<xsl:attribute name="title">
|
<xsl:attribute name="title">
|
||||||
<xsl:value-of select="atom:source/atom:title"/>
|
<xsl:value-of select="atom:source/atom:title"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
|
Loading…
Reference in New Issue
Block a user