summaryrefslogtreecommitdiff
path: root/_layouts/xslt_container.html
diff options
context:
space:
mode:
Diffstat (limited to '_layouts/xslt_container.html')
-rw-r--r--_layouts/xslt_container.html9
1 files changed, 2 insertions, 7 deletions
diff --git a/_layouts/xslt_container.html b/_layouts/xslt_container.html
index c035d69..ef45d5f 100644
--- a/_layouts/xslt_container.html
+++ b/_layouts/xslt_container.html
@@ -5,9 +5,7 @@
xmlns:atom="http://www.w3.org/2005/Atom">
<xsl:output method="html" version="4.0" encoding="UTF-8" indent="yes"/>
<xsl:template match="/">
- <html xmlns="http://www.w3.org/1999/xhtml" lang="{{ site.lang | default: "zh-CN" }}">
{{ content }}
- </html>
</xsl:template>
<xsl:template match="atom:feed/atom:entry">
<div class="item">
@@ -44,9 +42,6 @@
</div>
</xsl:template>
</xsl:stylesheet>
-{% else %}
-<!DOCTYPE html>
-<html lang="{{ site.lang | default: "zh-CN" }}">
- {{ content }}
-</html>
+{% else %}<!DOCTYPE html>
+{{ content }}
{% endif %} \ No newline at end of file