Update 2 files

- /_layouts/xslt_container.html
- /_layouts/default.html
This commit is contained in:
mayx 2025-06-25 06:45:14 +00:00
parent 39cada8eef
commit d4165271bc
2 changed files with 6 additions and 11 deletions

View File

@ -1,7 +1,7 @@
---
layout: xslt_container
---
<html lang="{{ site.lang | default: "zh-CN" }}">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
@ -61,8 +61,7 @@ layout: xslt_container
<p class="p-note">{{ site.description | default: site.github.project_tagline }}</p>
<form action="/search.html">
<input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />
<input type="submit" />
<input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />&#160;<input type="submit" value="搜索" />
</form>
<br />
@ -137,4 +136,5 @@ layout: xslt_container
<script src="/Live2dHistoire/live2d/js/live2d.js"></script>
<script src="/Live2dHistoire/live2d/js/message.js"></script>
<!-- <![endif]-->
</body>
</body>
</html>

View File

@ -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 %}