svn commit: r48157 - head/en_US.ISO8859-1/htdocs/news/status
Warren Block
wblock at FreeBSD.org
Mon Feb 8 18:45:14 UTC 2016
Author: wblock
Date: Mon Feb 8 18:45:13 2016
New Revision: 48157
URL: https://svnweb.freebsd.org/changeset/doc/48157
Log:
Add href attributes to project titles to make them linkable. Suggested
by Christian Schwarz <me at cschwarz.com> in freebsd-doc.
Modified:
head/en_US.ISO8859-1/htdocs/news/status/report.xsl
Modified: head/en_US.ISO8859-1/htdocs/news/status/report.xsl
==============================================================================
--- head/en_US.ISO8859-1/htdocs/news/status/report.xsl Mon Feb 8 17:18:03 2016 (r48156)
+++ head/en_US.ISO8859-1/htdocs/news/status/report.xsl Mon Feb 8 18:45:13 2016 (r48157)
@@ -98,8 +98,10 @@
<xsl:template match="project">
<h2><a>
<xsl:attribute name="name"><xsl:value-of
- select="translate(title, ' ', '-')"/></xsl:attribute><xsl:value-of
- select="title"/></a></h2>
+ select="translate(title, ' ', '-')"/></xsl:attribute>
+ <xsl:attribute name="href">#<xsl:value-of
+ select="translate(title, ' ', '-')"/></xsl:attribute>
+ <xsl:value-of select="title"/></a></h2>
<xsl:apply-templates select="links"/>
More information about the svn-doc-head
mailing list