Update 3 files

- /blogroll.opml
- /_layouts/default.html
- /assets/js/main.js
This commit is contained in:
mayx 2025-04-26 09:31:14 +00:00
parent d9984efa2a
commit 9669d10f5c
3 changed files with 12 additions and 13 deletions

View File

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

View File

@ -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";
}

View File

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