diff options
-rw-r--r-- | source/03_meta/articles.xsl | 4 | ||||
-rw-r--r-- | source/99_result/archive.xsl | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source/03_meta/articles.xsl b/source/03_meta/articles.xsl index e1b4a82..5bd2dc0 100644 --- a/source/03_meta/articles.xsl +++ b/source/03_meta/articles.xsl @@ -22,11 +22,11 @@ <xsl:template match="articles"> <xsl:for-each select="entry/date/year/text()[generate-id() = generate-id(key('years',.)[1])]"> - <year handle="{.}"> + <entry handle="{.}"> <xsl:call-template name="get_articles"> <xsl:with-param name="year" select="."/> </xsl:call-template> - </year> + </entry> </xsl:for-each> </xsl:template> diff --git a/source/99_result/archive.xsl b/source/99_result/archive.xsl index 4a5c671..f3bee2a 100644 --- a/source/99_result/archive.xsl +++ b/source/99_result/archive.xsl @@ -30,14 +30,14 @@ </div> </xsl:template> -<xsl:template match="articles/year"> +<xsl:template match="articles/entry"> <li class="dateitem"> <xsl:value-of select="@handle"/> </li> <xsl:apply-templates /> </xsl:template> -<xsl:template match="year/article"> +<xsl:template match="entry/article"> <li> <a href="{$url}/article/{@handle}"> <xsl:value-of select="title"/> |