diff options
Diffstat (limited to 'source/99_result/category')
-rw-r--r-- | source/99_result/category/category.xsl | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/source/99_result/category/category.xsl b/source/99_result/category/category.xsl index e0532aa..adbf98b 100644 --- a/source/99_result/category/category.xsl +++ b/source/99_result/category/category.xsl @@ -20,25 +20,14 @@ <xsl:value-of select="/datasource/category/entry/@handle"/> </xsl:template> -<xsl:template match="entry/page"> - <li> - <em>»</em> - <a href="/page/{@handle}"> - <strong><xsl:value-of select="title"/></strong> - <p> - <xsl:apply-templates select="digest/node()" mode="xhtml"/> - </p> - </a> - </li> -</xsl:template> - <xsl:template match="category/entry"> <h3> <xsl:text>All pages categorized as »</xsl:text> <xsl:value-of select="@handle"/> <xsl:text>«</xsl:text> </h3> - <div class="archiv columns"> + + <div class="columns"> <ul class="prettylist"> <xsl:apply-templates select="page"> <xsl:sort select="digest/@size" data-type="number" order="descending"/> @@ -47,4 +36,16 @@ </div> </xsl:template> +<xsl:template match="entry/page"> + <li> + <em>»</em> + <a href="/page/{@handle}"> + <strong><xsl:value-of select="title"/></strong> + <p> + <xsl:apply-templates select="digest/node()" mode="xhtml"/> + </p> + </a> + </li> +</xsl:template> + </xsl:stylesheet> |