summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-06-25 09:00:08 +0200
committermayx <mayx@outlook.com>2025-06-25 09:00:08 +0200
commitfb76deac38a021da38622abc54e08d63ce05cf84 (patch)
treee4a7dc48cf8140a8a1a42183695a6c5da3ce35d1
parentd4165271bc65156d76994382c51fc36048730298 (diff)
Update 2 files
- /_layouts/xslt_container.html - /_layouts/default.html
-rw-r--r--_layouts/default.html1
-rw-r--r--_layouts/xslt_container.html2
2 files changed, 2 insertions, 1 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index 5132570..a16fe01 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -1,6 +1,7 @@
---
layout: xslt_container
---
+
<html lang="{{ site.lang | default: "zh-CN" }}">
<head>
<meta charset="UTF-8" />
diff --git a/_layouts/xslt_container.html b/_layouts/xslt_container.html
index ef45d5f..c3bce97 100644
--- a/_layouts/xslt_container.html
+++ b/_layouts/xslt_container.html
@@ -3,7 +3,7 @@
version="3.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:atom="http://www.w3.org/2005/Atom">
- <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes"/>
+ <xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes" doctype-system="about:legacy-compat" />
<xsl:template match="/">
{{ content }}
</xsl:template>