* Removing deprecated code in index.xsl.

* Adding id "frontpage" to index.html.

svn path=/branches/test/; revision=14041
This commit is contained in:
ato committed 2010-01-12 16:51:34 +00:00
1 parent 43a3dc98fd
commit 377399bc0e
2 files changed
+4 -12

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@
<head>
<title>FSFE - Free Software Foundation Europe</title>
</head>
<body>
<body id="frontpage">
<h1>Free Software Foundation Europe</h1>
<p class="tagline">Free as in Freedom</p>
+3 -11
View File
@@ -14,11 +14,9 @@
<!-- Basically, copy everything -->
<xsl:template match="/">
<body id="frontpage">
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</body>
<xsl:copy>
<xsl:apply-templates select="@*|node()" />
</xsl:copy>
</xsl:template>
<!-- Show a single news item -->
@@ -33,14 +31,8 @@
<h3><xsl:value-of select="title" /></h3>
</xsl:otherwise>
</xsl:choose>
<!--<div class="date"><xsl:value-of select="@date" /></div>-->
<div class="text">
<xsl:apply-templates select="body/node()" />
<!-- <xsl:variable name="link"><xsl:value-of select="link" /></xsl:variable>
<xsl:if test="$link != ''">
<xsl:text> </xsl:text>
<a class="read_more" href="{link}"><xsl:value-of select="/html/text[@id='more']" /></a>
</xsl:if>-->
</div>
</div>
</xsl:template>