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

View File

@ -5,9 +5,7 @@
xmlns:atom="http://www.w3.org/2005/Atom"> 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"/>
<xsl:template match="/"> <xsl:template match="/">
<html xmlns="http://www.w3.org/1999/xhtml" lang="{{ site.lang | default: "zh-CN" }}">
{{ content }} {{ content }}
</html>
</xsl:template> </xsl:template>
<xsl:template match="atom:feed/atom:entry"> <xsl:template match="atom:feed/atom:entry">
<div class="item"> <div class="item">
@ -44,9 +42,6 @@
</div> </div>
</xsl:template> </xsl:template>
</xsl:stylesheet> </xsl:stylesheet>
{% else %} {% else %}<!DOCTYPE html>
<!DOCTYPE html> {{ content }}
<html lang="{{ site.lang | default: "zh-CN" }}">
{{ content }}
</html>
{% endif %} {% endif %}