Moved about in front page

This commit is contained in:
Christophe Riccio
2011-02-10 16:11:05 +00:00
parent e430b096d4
commit 89d57a41ec
7 changed files with 99 additions and 54 deletions

View File

@@ -7,7 +7,7 @@
<xsl:template match="/">
<html>
<head>
<title>OpenGL Mathematics: News</title>
<title>OpenGL Mathematics</title>
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
<meta name="copyright" content="G-Truc Creation" />
@@ -38,6 +38,8 @@
<img src="./common/title.png" alt="OpenGL Mathematics" />
</div>
<xsl:apply-templates select="./glm/about-short" />
<br />
<xsl:apply-templates select="./glm/about-long" />
<br />
<xsl:apply-templates select="./glm/page_news/news" />
<div class="title3">
@@ -53,29 +55,17 @@
<xsl:template match="news">
<div>
<div class="title-date">
<xsl:value-of select="./@date" />
</div>
<h3>
<xsl:value-of select="./@date" /><xsl:text> - </xsl:text>
<xsl:value-of select="./@title" />
</h3>
<div>
<xsl:if test="./paragraph">
<xsl:apply-templates select="./paragraph" />
</xsl:if>
<xsl:if test="./list">
<xsl:apply-templates select="./list" />
</xsl:if>
<xsl:if test="./code">
<xsl:apply-templates select="./code" />
</xsl:if>
<xsl:apply-templates select="./source" />
<!--xsl:apply-templates select="/" /-->
</div>
<div class="news-separator">_________________</div>
<br />
<div>
<xsl:apply-templates select="./paragraph" />
<xsl:apply-templates select="./list" />
<xsl:apply-templates select="./code" />
<xsl:apply-templates select="./source" />
</div>
<br />
</div>
</xsl:template>