fixed bug with pdf-link in article pages
svn path=/branches/design/; revision=17809
This commit is contained in:
parent
04e3a458a0
commit
a9d7101e7a
6
fsfe.xsl
6
fsfe.xsl
@ -125,7 +125,11 @@
|
||||
<span class="label"> <xsl:apply-templates select="/buildinfo/textset/text[@id='published']/node()" />: </span><xsl:value-of select="/buildinfo/document/head/meta[@name='publication-date']/@content" />
|
||||
|
||||
<xsl:if test = "string(/buildinfo/document/head/meta[@name='pdf-link']/@content)">
|
||||
<span class="label">PDF: </span><xsl:value-of select="/buildinfo/document/head/meta[@name='pdf-link']/@content" />
|
||||
<span class="label">PDF: </span>
|
||||
<xsl:variable name="pdf-link" select="/buildinfo/document/head/meta[@name='author-link-3']/@content" />
|
||||
<a href='{$pdf-link}'>download</a>
|
||||
|
||||
<xsl:value-of select="/buildinfo/document/head/meta[@name='pdf-link']/@content" />
|
||||
</xsl:if>
|
||||
|
||||
</xsl:element>
|
||||
|
Loading…
Reference in New Issue
Block a user