aboutsummaryrefslogtreecommitdiff
path: root/source/02_data
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/02_data
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/02_data')
-rw-r--r--source/02_data/pages.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/02_data/pages.xsl b/source/02_data/pages.xsl
index 8447c9d..201c575 100644
--- a/source/02_data/pages.xsl
+++ b/source/02_data/pages.xsl
@@ -15,10 +15,10 @@
<target mode="plain" value="pages.xml"/>
</xsl:variable>
-<xsl:template match="files/pages/file[./extension = '.md']">
+<xsl:template match="files/pages//file[./extension = '.md']">
<xsl:variable name="content">
<xsl:call-template name="formatter">
- <xsl:with-param name="format">/usr/bin/markdown</xsl:with-param>
+ <xsl:with-param name="format">kramdown</xsl:with-param>
<xsl:with-param name="source" select="InputXSLT:read-file(./full)/text()"/>
</xsl:call-template>
</xsl:variable>