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/02_data')
-rw-r--r-- | source/02_data/articles.xsl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl index 8900085..6f79675 100644 --- a/source/02_data/articles.xsl +++ b/source/02_data/articles.xsl @@ -49,7 +49,12 @@ <xsl:value-of select="xalan:nodeset($content)/h1"/> </title> <date> - <xsl:value-of select="substring(./name, 0, 11)"/> + <full> + <xsl:value-of select="substring(./name, 0, 11)"/> + </full> + <year> + <xsl:value-of select="substring(./name, 0, 5)"/> + </year> </date> <tags> <xsl:call-template name="list_tags"> |