Browse Source

Update 2 files

- /_layouts/xslt_container.html
- /_layouts/default.html
pull/178/head
mayx 2 months ago
parent
commit
d4165271bc
2 changed files with 6 additions and 11 deletions
  1. +4
    -4
      _layouts/default.html
  2. +2
    -7
      _layouts/xslt_container.html

+ 4
- 4
_layouts/default.html 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="submit" />
<input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts.." />&#160;<input type="submit" value="搜索" />
</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>

+ 2
- 7
_layouts/xslt_container.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 %}
<!DOCTYPE html>
<html lang="{{ site.lang | default: "zh-CN" }}">
{{ content }}
</html>
{% else %}<!DOCTYPE html>
{{ content }}
{% endif %} {% endif %}

Loading…
Cancel
Save

Powered by TurnKey Linux.