aboutsummaryrefslogtreecommitdiff
path: root/source/02_meta
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-09-04 19:39:34 +0200
committerAdrian Kummerlaender2014-09-04 19:39:34 +0200
commit4ba1e1585033643d4c656d5962f12b2a3fdbfb9e (patch)
tree4e124c6974be3083179208ab594129481e5ad086 /source/02_meta
parent60be999bc36360cabe37a648e6a6b974485b884d (diff)
downloadblog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.tar
blog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.tar.gz
blog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.tar.bz2
blog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.tar.lz
blog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.tar.xz
blog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.tar.zst
blog.kummerlaender.eu-4ba1e1585033643d4c656d5962f12b2a3fdbfb9e.zip
Updated source tree datasource query to be more explicit
* "00_content" directory is now explicitly referenced * added "source_tree" variable to task processing transformation ** changed datasource meta-tag expressions to reference "source_tree" instead of "$root/source"
Diffstat (limited to 'source/02_meta')
-rw-r--r--source/02_meta/categories.xsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/02_meta/categories.xsl b/source/02_meta/categories.xsl
index c0075b0..9bb1287 100644
--- a/source/02_meta/categories.xsl
+++ b/source/02_meta/categories.xsl
@@ -10,8 +10,8 @@
<xsl:include href="[utility/datasource.xsl]"/>
<xsl:variable name="meta">
- <datasource type="main" mode="expression" source="$root/source/directory[1]/directory" target="files"/>
- <datasource type="support" mode="full" source="01_data/pages.xml" target="pages"/>
+ <datasource type="main" mode="expression" source="$source_tree/directory[@name = '00_content']/directory" target="files"/>
+ <datasource type="support" mode="full" source="01_data/pages.xml" target="pages"/>
<target mode="plain" value="categories.xml"/>
</xsl:variable>