mirror of https://gitee.com/openkylin/libvirt.git
docs: news: add per-release links
Wrap each release headline in an <a> element with the id set to the release value and page.xsl will take care of the rest. Reported-by: Kashyap Chamarthy <kchamart@redhat.com> Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
7e431a521c
commit
d51522eb57
|
@ -41,12 +41,17 @@
|
||||||
<!-- Release -->
|
<!-- Release -->
|
||||||
<xsl:template match="release">
|
<xsl:template match="release">
|
||||||
<h3>
|
<h3>
|
||||||
<strong>
|
<a>
|
||||||
<xsl:value-of select="@version"/>
|
<xsl:attribute name="id">
|
||||||
<xsl:text> (</xsl:text>
|
<xsl:value-of select="@version"/>
|
||||||
<xsl:value-of select="@date"/>
|
</xsl:attribute>
|
||||||
<xsl:text>)</xsl:text>
|
<strong>
|
||||||
</strong>
|
<xsl:value-of select="@version"/>
|
||||||
|
<xsl:text> (</xsl:text>
|
||||||
|
<xsl:value-of select="@date"/>
|
||||||
|
<xsl:text>)</xsl:text>
|
||||||
|
</strong>
|
||||||
|
</a>
|
||||||
</h3>
|
</h3>
|
||||||
<ul>
|
<ul>
|
||||||
<xsl:apply-templates select="section"/>
|
<xsl:apply-templates select="section"/>
|
||||||
|
|
Loading…
Reference in New Issue