about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-28 23:56:30 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2023-01-28 23:56:30 +0900
commit7ae7538a8a2bd2e23d5bc45e38edaafc16ce2ab3 (patch)
treea1f6de309431b79a4c16c92cf1ec88c3accc9780
parent6a45d006cd06b33a78c5f9b1ab3ce755f36993fa (diff)
downloadpx-7ae7538a8a2bd2e23d5bc45e38edaafc16ce2ab3.tar.gz
px-7ae7538a8a2bd2e23d5bc45e38edaafc16ce2ab3.tar.zst
Support language indication for Atom
-rw-r--r--atom.xslt2
1 files changed, 1 insertions, 1 deletions
diff --git a/atom.xslt b/atom.xslt
index f1ea557..29d6ad5 100644
--- a/atom.xslt
+++ b/atom.xslt
@@ -16,7 +16,7 @@
         <xsl:text>#</xsl:text>
         <xsl:value-of select="translate(@title, ' ', '-')"/>
       </xsl:variable>
-      <entry>
+      <entry xml:lang="{@lang}">
         <link rel="alternate" type="application/xhtml+xml" href="{$url}"/>
         <id><xsl:value-of select="$url"/></id>
         <title><xsl:value-of select="@title"/></title>