pushing datenspuren to position 1

This commit is contained in:
nek0 2016-07-28 19:40:03 +02:00
parent 6fcc760929
commit fb84a587c4
1 changed files with 24 additions and 11 deletions

View File

@ -334,8 +334,21 @@
<xsl:template match="/page/portal">
<!-- Portal tiles -->
<section id="portal">
<!-- Items 1..2 -->
<!-- Datenspuren CfP -->
<article class="news">
<a href="https://c3d2.de/news/ds16-cfp.html"
style="background: url('images/news/ds2016.png') 50% 50% no-repeat">
<h3>Datenspuren 2016</h3>
<p class="footer">Engel und Vorträge gesucht!</p>
</a>
</article>
<!-- Item 1 -->
<xsl:apply-templates select="item[position() = 1]"/>
<!-- Items 1..2
<xsl:apply-templates select="item[position() &lt;= 2]"/>
-->
<!-- Upcoming events -->
<article class="upcoming">
@ -347,8 +360,8 @@
</xsl:call-template>
</article>
<!-- Item 3 -->
<xsl:apply-templates select="item[position() = 3]"/>
<!-- Item 2 -->
<xsl:apply-templates select="item[position() = 2]"/>
<!-- Advertisement -->
<article>
@ -359,8 +372,8 @@
</a>
</article>
<!-- Items 4..5 -->
<xsl:apply-templates select="item[position() &gt;= 4 and position() &lt;= 5]"/>
<!-- Items 3..4 -->
<xsl:apply-templates select="item[position() &gt;= 3 and position() &lt;= 4]"/>
<!-- Hackspace -->
<article class="space">
@ -370,8 +383,8 @@
</a>
</article>
<!-- Items 6..7 -->
<xsl:apply-templates select="item[position() &gt;= 6 and position() &lt;= 7]"/>
<!-- Items 5..6 -->
<xsl:apply-templates select="item[position() &gt;= 5 and position() &lt;= 6]"/>
<!-- Chaosupdates -->
<!--article class="chaosupdates">
@ -381,8 +394,8 @@
<p class="footer">ccc.de</p>
</article-->
<!-- 8..12 -->
<xsl:apply-templates select="item[position() &gt;= 8 and position() &lt;= 12]"/>
<!-- 7..11 -->
<xsl:apply-templates select="item[position() &gt;= 7 and position() &lt;= 11]"/>
<!-- Zentralwerk-Issues -->
<article class="upcoming">
@ -401,8 +414,8 @@
<p class="footer">…ins Zentralwerk</p>
</article>
<!-- 13..30 -->
<xsl:apply-templates select="item[position() &gt;= 13 and position() &lt;= 30]"/>
<!-- 12..30 -->
<xsl:apply-templates select="item[position() &gt;= 12 and position() &lt;= 30]"/>
</section>
</xsl:template>