summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2025-04-26 11:31:14 +0200
committermayx <mayx@outlook.com>2025-04-26 11:31:14 +0200
commit9669d10f5c5c9032421ad7f4c905b61bd423fc3b (patch)
tree597a2a5ecbf72503a5f28d842b6987ff4eb729c3
parentd9984efa2a83b680142c511dc283c64b806b66b1 (diff)
Update 3 files
- /blogroll.opml - /_layouts/default.html - /assets/js/main.js
-rw-r--r--_layouts/default.html13
-rw-r--r--assets/js/main.js8
-rw-r--r--blogroll.opml4
3 files changed, 12 insertions, 13 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index d707b4d..28331cd 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -9,14 +9,15 @@
{% seo %}
{% feed_meta %}
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
- <!--[if !IE]> -->
<link rel="stylesheet" href="/Live2dHistoire/live2d/css/live2d.css" />
<link rel="blogroll" type="text/xml" href="/blogroll.opml" />
<script src="/assets/js/jquery.min.js"></script>
- <!-- <![endif]-->
<!--[if lt IE 9]>
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
- <![endif]-->
+ <![endif]-->
+ <!--[if IE]>
+ <script src="//cdnjs.cloudflare.com/polyfill/v3/polyfill.min.js?version=4.8.0"></script>
+ <![endif]-->
<!--[if !IE]> -->
{% if site.google_analytics %}
@@ -68,7 +69,7 @@
<p>
<form action="/search.html"><input type="text" name="keyword" id="search-input-all" placeholder="Search blog posts..">
- <input type="submit">
+ <input type="submit" />
</form>
</p>
@@ -98,7 +99,6 @@
{{ content }}
</section>
- <!--[if !IE]> -->
<div id="landlord" style="left:5px;bottom:0px;">
<div class="message" style="opacity:0"></div>
<canvas id="live2d" width="500" height="560" class="live2d"></canvas>
@@ -128,7 +128,6 @@
</div>
</div>
<div id="open_live2d">召唤伊斯特瓦尔</div>
- <!-- <![endif]-->
<footer>
<p>
<small>Made with ❤ by Mayx<br />Last updated at {{ site.time | date: "%F %T" }}<br /> 总字数:{% include_cached word_count.html %} - 文章数:{{ site.posts.size }} - <a href="{{ site.feed.path | relative_url }}" >Atom</a> - <a href="{{ "/README.html" | relative_url }}" >About</a></small>
@@ -137,11 +136,9 @@
</div>
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
- <!--[if !IE]> -->
<script src="/assets/js/main.js"></script>
<script src="/Live2dHistoire/live2d/js/live2d.js"></script>
<script src="/Live2dHistoire/live2d/js/message.js"></script>
- <!-- <![endif]-->
</body>
</html> \ No newline at end of file
diff --git a/assets/js/main.js b/assets/js/main.js
index 805318d..889c1f0 100644
--- a/assets/js/main.js
+++ b/assets/js/main.js
@@ -1,3 +1,6 @@
+var message_Path = '/Live2dHistoire/live2d/';
+var talkAPI = BlogAPI + "/ai_chat";
+
(function () {
var $backToTopTxt = "返回顶部", $backToTopEle = $('<div class="backToTop"></div>').appendTo($("body"))
.text($backToTopTxt).attr("title", $backToTopTxt).click(function () {
@@ -114,7 +117,4 @@ if (daysold > 90) {
$("html")[0].style = "-webkit-filter: grayscale(100%);filter:progid:DXImageTransform.Microsoft.BasicImage(graysale=1);";
$("html")[0].innerHTML = $("html")[0].innerHTML.replace(/Mayx/g, "Ghost");
console.warn("Mayx may already be Dead");
-}
-
-var message_Path = '/Live2dHistoire/live2d/';
-var talkAPI = BlogAPI + "/ai_chat";
+} \ No newline at end of file
diff --git a/blogroll.opml b/blogroll.opml
index bf210aa..fe61c5f 100644
--- a/blogroll.opml
+++ b/blogroll.opml
@@ -1,11 +1,13 @@
---
---
+<?xml version="1.0" encoding="utf-8"?>
<opml version="2.0">
<head>
<title>Mayx Blogroll</title>
+ <ownerName>Mayx</ownerName>
</head>
<body>{% for item in site.data.links %}
- <outline text="{{ item.title | xml_escape }}" title="{{ item.title | xml_escape }}" {% if item.description %}description="{{ item.description | xml_escape }}" {% endif %}{% if item.feed_url %}xmlUrl="{{ item.feed_url }}" {% endif %}htmlUrl="{{ item.link }}" />{% endfor %}
+ <outline text="{{ item.title | xml_escape }}" title="{{ item.title | xml_escape }}" {% if item.description %}description="{{ item.description | xml_escape }}" {% endif %}{% if item.feed_url %}xmlUrl="{{ item.feed_url }}" type="rss" {% else %}type="link" {% endif %}htmlUrl="{{ item.link }}" />{% endfor %}
</body>
</opml>