diff options
Added separate year node to article datasource
* this is needed for the implementation of a article datasource grouped by year
** this in turn is needed for the archive page template
* modified tags meta transformation and article result transformation accordingly
Diffstat (limited to 'source/03_meta')
-rw-r--r-- | source/03_meta/tags.xsl | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source/03_meta/tags.xsl b/source/03_meta/tags.xsl index 84114e8..ac77335 100644 --- a/source/03_meta/tags.xsl +++ b/source/03_meta/tags.xsl @@ -22,7 +22,14 @@ <xsl:template name="get_article_data"> <xsl:param name="handle"/> - <xsl:copy-of select="$root/articles/entry[@handle = $handle]/*[self::title | self::date]"/> + <xsl:variable name="article" select="$root/articles/entry[@handle = $handle]/*[self::title | self::date]"/> + + <title> + <xsl:value-of select="$article/self::title"/> + </title> + <date> + <xsl:value-of select="$article/self::date/full"/> + </date> </xsl:template> <xsl:template match="tags/entry"> |