diff options
Added root variable to datasource template
* this was done to simplifiy support data queries while resolving the main datasource
Diffstat (limited to 'source/02_data')
-rw-r--r-- | source/02_data/articles.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl index 7547cc7..bc41137 100644 --- a/source/02_data/articles.xsl +++ b/source/02_data/articles.xsl @@ -25,7 +25,7 @@ <xsl:template name="list_tags"> <xsl:param name="path"/> - <xsl:for-each select="../../tags/*[./file/full = $path]"> + <xsl:for-each select="$root/files/tags/*[./file/full = $path]"> <tag><xsl:value-of select="name()"/></tag> </xsl:for-each> </xsl:template> |