added publication date to news pages
svn path=/branches/design/; revision=17808
This commit is contained in:
parent
deac074a90
commit
04e3a458a0
11
fsfe.xsl
11
fsfe.xsl
@ -66,6 +66,17 @@
|
||||
<xsl:apply-templates select="node()"/>
|
||||
</xsl:copy>
|
||||
|
||||
<!-- Apply news page rules -->
|
||||
<xsl:if test="/buildinfo/document/html/@newsdate">
|
||||
<xsl:element name="div">
|
||||
<xsl:attribute name="id">article-metadata</xsl:attribute>
|
||||
<xsl:element name="p">
|
||||
<span class="label"> <xsl:apply-templates select="/buildinfo/textset/text[@id='published']/node()" />: </span><xsl:value-of select="/buildinfo/document/html/@newsdate" />
|
||||
</xsl:element>
|
||||
</xsl:element>
|
||||
</xsl:if>
|
||||
<!-- End apply news page rules -->
|
||||
|
||||
<!-- Apply article rules -->
|
||||
<xsl:if test = "string(/buildinfo/document/head/meta[@name='author-name-1']/@content)">
|
||||
<xsl:element name="div">
|
||||
|
Loading…
Reference in New Issue
Block a user