diff options
author | mayx | 2025-06-25 06:45:14 +0000 |
---|---|---|
committer | mayx | 2025-06-25 06:45:14 +0000 |
commit | d4165271bc65156d76994382c51fc36048730298 (patch) | |
tree | 2d3e0e98d49d8ecc4a7c354789960a5aa6b623c4 /_layouts/xslt_container.html | |
parent | 39cada8eef6556e899094d92259d5435071d63f9 (diff) |
Update 2 files
- /_layouts/xslt_container.html - /_layouts/default.html
Diffstat (limited to '_layouts/xslt_container.html')
-rw-r--r-- | _layouts/xslt_container.html | 9 |
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 |