diff options
Implemented basic article tagging facility
* articles are tagged by symlinking them to the appropriate "tag" in the "tags" directory
* tags are resolved by the article datasource transformation
* added tags for the example articles
Diffstat (limited to 'source/03_result')
-rw-r--r-- | source/03_result/article/article.xsl | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/03_result/article/article.xsl b/source/03_result/article/article.xsl index fa54a85..69ddf09 100644 --- a/source/03_result/article/article.xsl +++ b/source/03_result/article/article.xsl @@ -36,7 +36,13 @@ <xsl:call-template name="format-date"> <xsl:with-param name="date" select="./date"/> <xsl:with-param name="format" select="'x. M Y'"/> - </xsl:call-template> | Adrian Kummerländer + </xsl:call-template> + | <xsl:for-each select="tags/tag"> + <a href="{$url}/tag/{.}"> + <xsl:value-of select="."/> + </a> + </xsl:for-each> + | Adrian Kummerländer </p> <xsl:copy-of select="./content/*"/> </div> |