diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-01-28 23:56:30 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-01-28 23:56:30 +0900 |
commit | 7ae7538a8a2bd2e23d5bc45e38edaafc16ce2ab3 (patch) | |
tree | a1f6de309431b79a4c16c92cf1ec88c3accc9780 | |
parent | 6a45d006cd06b33a78c5f9b1ab3ce755f36993fa (diff) | |
download | px-7ae7538a8a2bd2e23d5bc45e38edaafc16ce2ab3.tar.gz |
Support language indication for Atom
-rw-r--r-- | atom.xslt | 2 |
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> |