aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/page
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-11 22:51:48 +0200
committerAdrian Kummerlaender2014-08-11 22:51:48 +0200
commit8e72c0f8a28c8e4593a311ea465de00bb77646a7 (patch)
tree393f6cb089ad739fbb64e31c8acb2b5352ed98a4 /source/99_result/page
parent49768b7c10fd6466edcd8262587bf142c919ccb5 (diff)
downloadblog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.tar
blog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.tar.gz
blog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.tar.bz2
blog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.tar.lz
blog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.tar.xz
blog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.tar.zst
blog.kummerlaender.eu-8e72c0f8a28c8e4593a311ea465de00bb77646a7.zip
Added category overview heading and randomized order
* while articles can be ordered by e.g. date there is no useful order for the pages in a given category ** this is why the order of pages on category overview pages is now random (in each generation)
Diffstat (limited to 'source/99_result/page')
-rw-r--r--source/99_result/page/page.xsl10
1 files changed, 8 insertions, 2 deletions
diff --git a/source/99_result/page/page.xsl b/source/99_result/page/page.xsl
index fcf217d..4bf62ba 100644
--- a/source/99_result/page/page.xsl
+++ b/source/99_result/page/page.xsl
@@ -18,8 +18,14 @@
<xsl:template match="page/entry">
<div class="last article">
- <h3><xsl:value-of select="./title"/></h3>
- <xsl:copy-of select="./content/*"/>
+ <h2>
+ <xsl:text>ยป </xsl:text>
+ <a href="{$url}/page/{@handle}">
+ <xsl:value-of select="title"/>
+ </a>
+ </h2>
+ <p class="info"/>
+ <xsl:copy-of select="content/*"/>
</div>
</xsl:template>