aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-rw-r--r--source/01_data/articles.xsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/01_data/articles.xsl b/source/01_data/articles.xsl
index c25fe2a..2c4fa72 100644
--- a/source/01_data/articles.xsl
+++ b/source/01_data/articles.xsl
@@ -27,10 +27,11 @@
</xsl:apply-templates>
</xsl:template>
-<xsl:template match="files/directory[@name = 'articles']/file[@extension = '.md']">
+<xsl:template match="files/directory[@name = 'articles']/file[@extension = '.md' or @extension = '.org']">
<xsl:variable name="content">
<xsl:call-template name="formatter">
<xsl:with-param name="source" select="InputXSLT:read-file(./full)/text()"/>
+ <xsl:with-param name="format" select="substring(@extension,2)"/>
</xsl:call-template>
</xsl:variable>