diff options
author | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-01-28 22:21:46 +0900 |
---|---|---|
committer | Nguyễn Gia Phong <mcsinyx@disroot.org> | 2023-01-28 22:22:30 +0900 |
commit | 8a91b677e9e1e39bab44b910b830a07d56cd0d7c (patch) | |
tree | 63497a147cbd0936fdd3fb42474f1f1e67c11e3e /page.xslt | |
parent | 8de44da18a31a9ea013783e5569100c14e1f2e0a (diff) | |
download | px-8a91b677e9e1e39bab44b910b830a07d56cd0d7c.tar.gz |
Properly declare posts' language
Diffstat (limited to 'page.xslt')
-rw-r--r-- | page.xslt | 2 |
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> |