about summary refs log tree commit diff homepage
path: root/page.xslt
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-28 22:21:46 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-28 22:22:30 +0900
commit8a91b677e9e1e39bab44b910b830a07d56cd0d7c (patch)
tree63497a147cbd0936fdd3fb42474f1f1e67c11e3e /page.xslt
parent8de44da18a31a9ea013783e5569100c14e1f2e0a (diff)
downloadpx-8a91b677e9e1e39bab44b910b830a07d56cd0d7c.tar.gz
Properly declare posts' language
Diffstat (limited to 'page.xslt')
-rw-r--r--page.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/page.xslt b/page.xslt
index 2b529b1..0b98aed 100644
--- a/page.xslt
+++ b/page.xslt
@@ -22,7 +22,7 @@
           <xsl:variable name="id">
             <xsl:value-of select="translate(@title, ' ', '-')"/>
           </xsl:variable>
-          <article id="{$id}">
+          <article id="{$id}" lang="{@lang}">
             <h2><a href="#{$id}">
               <xsl:value-of select="@title"/>
             </a></h2>