feat: follow user OS theme with JS disabled (#357)

This commit is contained in:
Óscar
2024-07-24 19:14:57 +02:00
committed by GitHub
parent 5db006ac47
commit c7b79552c4
8 changed files with 70 additions and 38 deletions

View File

@@ -4,6 +4,9 @@
<xsl:output method="html" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<xsl:attribute name="data-theme">
<xsl:value-of select="/atom:feed/str:translations/str:default_theme"/>
</xsl:attribute>
<head>
<title>
<xsl:value-of select="/atom:feed/atom:title"/> • Feed