aboutsummaryrefslogtreecommitdiff
path: root/template/datasource
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-07-17 21:18:25 +0200
committerAdrian Kummerlaender2014-07-17 21:18:25 +0200
commite872033543129071469a0b100c0a36c18a6b519b (patch)
treee1124031a12423acfa9cb45dc7fef30c8dab4a3f /template/datasource
parent56e46331c3cb503baa2d3f8004dc0725baf51a0a (diff)
downloadblog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.tar
blog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.tar.gz
blog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.tar.bz2
blog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.tar.lz
blog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.tar.xz
blog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.tar.zst
blog.kummerlaender.eu-e872033543129071469a0b100c0a36c18a6b519b.zip
Implemented basic page compilation facilities
* templates in 'template/compiler' are automatically generated ** required datasources are extracted and merged automatically ** 'pages.xsl' is currently a dummy compiler * moved context helper templates into context stylesheet * added compiler directory to meta DOM * modified generator and transformer helper templates to enable usage of DOM as input
Diffstat (limited to 'template/datasource')
-rw-r--r--template/datasource/pages.xsl8
1 files changed, 1 insertions, 7 deletions
diff --git a/template/datasource/pages.xsl b/template/datasource/pages.xsl
index c77513a..5c036c9 100644
--- a/template/datasource/pages.xsl
+++ b/template/datasource/pages.xsl
@@ -10,13 +10,7 @@
<xsl:include href="[utility/datasource.xsl]"/>
<xsl:include href="[utility/formatter.xsl]"/>
-<xsl:template match="source/pages">
- <pages>
- <xsl:apply-templates select="./*"/>
- </pages>
-</xsl:template>
-
-<xsl:template match="file[./extension = '.md']">
+<xsl:template match="source/pages/file[./extension = '.md']">
<entry handle="{./name}">
<xsl:choose>
<xsl:when test="./extension = '.md'">