- Change the format of the news entries a bit to be more consistent
with the press page and easier to read, as well PR: www/105527 Submitted by: Rudolf Cejka <cejkar@fit.vutbr.cz> Approved by: keramida (mentor) Discussed on: freebsd-doc, freebsd-www
This commit is contained in:
parent
38b41bd018
commit
5c8cdd4408
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=29557
2 changed files with 14 additions and 5 deletions
share/sgml
|
@ -1,7 +1,7 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1" ?>
|
||||
<!DOCTYPE xsl:stylesheet PUBLIC "-//FreeBSD//DTD FreeBSD XSLT 1.0 DTD//EN"
|
||||
"http://www.FreeBSD.org/XML/www/share/sgml/xslt10-freebsd.dtd">
|
||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.2 2006/08/20 11:52:10 hrs Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/libcommon.xsl,v 1.3 2007/01/28 18:43:07 pav Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
version="1.0"
|
||||
|
@ -408,7 +408,10 @@
|
|||
</xsl:call-template></b>
|
||||
<!-- put localized text -->
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:copy-of select="p" />
|
||||
<xsl:for-each select="p">
|
||||
<xsl:if test="position() > 1"><br /><br /></xsl:if>
|
||||
<xsl:copy-of select="child::node()" />
|
||||
</xsl:for-each>
|
||||
</p>
|
||||
</li>
|
||||
</xsl:for-each>
|
||||
|
@ -441,7 +444,10 @@
|
|||
</xsl:call-template></b>
|
||||
<!-- put English text -->
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:copy-of select="p" />
|
||||
<xsl:for-each select="p">
|
||||
<xsl:if test="position() > 1"><br /><br /></xsl:if>
|
||||
<xsl:copy-of select="child::node()" />
|
||||
</xsl:for-each>
|
||||
</p>
|
||||
</li>
|
||||
</xsl:for-each>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<!ENTITY % navinclude.about "INCLUDE">
|
||||
]>
|
||||
|
||||
<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.1 2006/08/19 21:20:54 hrs Exp $ -->
|
||||
<!-- $FreeBSD: www/share/sgml/templates.oldnewsflash.xsl,v 1.2 2006/08/21 18:27:43 hrs Exp $ -->
|
||||
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"
|
||||
xmlns:cvs="http://www.FreeBSD.org/XML/CVS">
|
||||
|
@ -99,7 +99,10 @@
|
|||
</xsl:call-template>
|
||||
<xsl:text>, </xsl:text>
|
||||
<xsl:value-of select="ancestor::year/name"/>:</b><xsl:text> </xsl:text>
|
||||
<xsl:copy-of select="p"/>
|
||||
<xsl:for-each select="p">
|
||||
<xsl:if test="position() > 1"><br /><br /></xsl:if>
|
||||
<xsl:copy-of select="child::node()" />
|
||||
</xsl:for-each>
|
||||
</p>
|
||||
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue