diff options
Included unaugmented tag datasource into the page footer
* the master template generates a list of all available tags into the footer
** this currently requires the unaugmented tags datasource to be included into every template making use of the master template
Diffstat (limited to 'source/99_result/tag')
-rw-r--r-- | source/99_result/tag/tag.xsl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/99_result/tag/tag.xsl b/source/99_result/tag/tag.xsl index 45cb247..6ab11bf 100644 --- a/source/99_result/tag/tag.xsl +++ b/source/99_result/tag/tag.xsl @@ -20,6 +20,7 @@ <xsl:variable name="meta"> <datasource type="main" mode="iterate" source="target/03_meta/tags.xml" target="tag"/> <datasource type="support" mode="full" source="source/00_content/meta.xml" target="meta"/> + <datasource type="support" mode="full" source="target/02_data/tags.xml" target="tags"/> <target mode="xpath" value="xalan:nodeset($datasource)/datasource/tag/entry/@handle"/> </xsl:variable> @@ -31,12 +32,12 @@ <div class="archiv left articlelist archivlist"> All articles tagged as »<xsl:value-of select="@handle"/>« <ol> - <xsl:apply-templates select="article"/> + <xsl:apply-templates /> </ol> </div> </xsl:template> -<xsl:template match="article"> +<xsl:template match="tag/entry/article"> <li> <xsl:call-template name="format-date"> <xsl:with-param name="date" select="date"/> |