aboutsummaryrefslogtreecommitdiff
path: root/source/99_result/tag
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-08-11 20:24:46 +0200
committerAdrian Kummerlaender2014-08-11 20:24:46 +0200
commit49768b7c10fd6466edcd8262587bf142c919ccb5 (patch)
tree5a537a87856b54adfe013e4c8b15e3ce8c716870 /source/99_result/tag
parentc1c409e3e486afdc0fe48484a5fc3ccc553f1aaa (diff)
downloadblog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.tar
blog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.tar.gz
blog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.tar.bz2
blog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.tar.lz
blog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.tar.xz
blog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.tar.zst
blog.kummerlaender.eu-49768b7c10fd6466edcd8262587bf142c919ccb5.zip
Implemented page categorization functionality
* expanded "02_data/pages.xsl" transformation to include pages in subfolders * "03_meta/categories.xsl" transformation generates a categorized view of all pages simmilar to the one provided for tags by "03_meta/tags.xsl" * "99_result/category/category.xsl" transformation generates category overview pages * added basic project related pages inside the "projects" category
Diffstat (limited to 'source/99_result/tag')
-rw-r--r--source/99_result/tag/tag.xsl12
1 files changed, 9 insertions, 3 deletions
diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl
index 8eb6ca0..fd79a3c 100644
--- a/source/99_result/tag/tag.xsl
+++ b/source/99_result/tag/tag.xsl
@@ -17,8 +17,10 @@
</xsl:template>
<xsl:template match="tag/entry">
- <div class="archiv left articlelist archivlist">
- All articles tagged as &#187;<xsl:value-of select="@handle"/>&#171;
+ <div class="archiv articlelist archivlist">
+ <xsl:text>All articles tagged as &#187;</xsl:text>
+ <xsl:value-of select="@handle"/>
+ <xsl:text>&#171;</xsl:text>
<ol>
<xsl:apply-templates />
</ol>
@@ -27,7 +29,11 @@
<xsl:template match="tag/entry/article">
<li>
- <xsl:value-of select="date"/> » <a href="{$url}/article/{@handle}"><xsl:value-of select="title"/></a>
+ <xsl:value-of select="date"/>
+ <xsl:text> » </xsl:text>
+ <a href="{$url}/article/{@handle}">
+ <xsl:value-of select="title"/>
+ </a>
</li>
</xsl:template>