xsl/xhtml5: news links at bottom of news.html

This commit is contained in:
Astro 2012-02-01 19:52:58 +01:00
parent 30a152379e
commit 03cc89892c
1 changed files with 12 additions and 10 deletions

View File

@ -138,16 +138,6 @@
<xsl:template match="/page/news">
<p>
Die Neuigkeiten des C3D2 sind auch
als <a href="{$baseurl}news-atom.xml">ATOM</a>
und <a href="{$baseurl}news-rss.xml">RSS</a>, die
Veranstaltungen
im <a href="{$baseurl}ical.ics">iCal-</a>, <a href="{$baseurl}xcal.xml">XCal-</a>
und <a href="{$baseurl}reminders">remind-Format</a> abrufbar.
Alle News gibts im <a href="{$baseurl}news-archiv.html" rel="archives">Archiv</a>.
</p>
<xsl:for-each select="newsfile">
<xsl:sort select="date:seconds(document(concat('../', .))/item/@date)" data-type="number" order="descending" />
<xsl:if test="position() &lt;= 10">
@ -193,6 +183,18 @@
</xsl:for-each>
</xsl:if>
</xsl:for-each>
<aside>
<p>
Die Neuigkeiten des C3D2 sind auch
als <a href="{$baseurl}news-atom.xml">ATOM</a>
und <a href="{$baseurl}news-rss.xml">RSS</a>, die
Veranstaltungen
im <a href="{$baseurl}ical.ics">iCal-</a>, <a href="{$baseurl}xcal.xml">XCal-</a>
und <a href="{$baseurl}reminders">remind-Format</a> abrufbar.
Mehr News gibts im <a href="{$baseurl}news-archiv.html" rel="archives">Archiv</a>.
</p>
</aside>
</xsl:template>
<xsl:template name="news-meta">