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/03_meta')
-rw-r--r-- | source/03_meta/tags.xsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/03_meta/tags.xsl b/source/03_meta/tags.xsl index 4bed65c..f51f91a 100644 --- a/source/03_meta/tags.xsl +++ b/source/03_meta/tags.xsl @@ -25,7 +25,7 @@ <xsl:template name="get_article_data"> <xsl:param name="handle"/> - <xsl:copy-of select="ancestor::node()[4]/articles/entry[@handle = $handle]/*[self::title | self::date]"/> + <xsl:copy-of select="$root/articles/entry[@handle = $handle]/*[self::title | self::date]"/> </xsl:template> <xsl:template match="files/tags/*"> |