aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/02_data/articles.xsl6
-rw-r--r--source/02_data/tags.xsl4
2 files changed, 9 insertions, 1 deletions
diff --git a/source/02_data/articles.xsl b/source/02_data/articles.xsl
index bc41137..8900085 100644
--- a/source/02_data/articles.xsl
+++ b/source/02_data/articles.xsl
@@ -30,6 +30,12 @@
</xsl:for-each>
</xsl:template>
+<xsl:template match="files/articles">
+ <xsl:apply-templates select="file">
+ <xsl:sort select="name" order="descending"/>
+ </xsl:apply-templates>
+</xsl:template>
+
<xsl:template match="files/articles/file[./extension = '.md']">
<xsl:variable name="content">
<xsl:call-template name="formatter">
diff --git a/source/02_data/tags.xsl b/source/02_data/tags.xsl
index f5d1627..f04ec32 100644
--- a/source/02_data/tags.xsl
+++ b/source/02_data/tags.xsl
@@ -23,7 +23,9 @@
<xsl:template match="files/tags/*">
<entry handle="{name()}">
- <xsl:apply-templates />
+ <xsl:apply-templates select="file">
+ <xsl:sort select="name" order="descending"/>
+ </xsl:apply-templates>
</entry>
</xsl:template>