Skip to content

Commit 8d941b7

Browse files
committed
修改icon
1 parent 761b034 commit 8d941b7

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

_includes/head.html

-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@
5757
</title>
5858

5959
{% include_cached favicons.html %}
60-
<!-- {% include sakana.html %} -->
6160

6261
<!-- Resource Hints -->
6362
{% unless site.assets.self_host.enabled %}

_includes/lang.html

-1
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@
99
{% assign lang = 'en' %}
1010
{% endif %}
1111

12-
{%- include sakana.html -%}
1312

_includes/sakana.html

+4-11
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
1-
<link
2-
rel="stylesheet"
3-
href="https://cdn.jsdelivr.net/npm/[email protected]/lib/sakana.min.css"
4-
/>
5-
<div id="sakana-widget"
6-
style="
1+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/lib/sakana.min.css" />
2+
<div id="sakana-widget" style="
73
z-index: 1001;
84
position: fixed;
95
bottom: 0px;
@@ -13,8 +9,5 @@
139
new SakanaWidget().mount('#sakana-widget');
1410
}
1511
</script>
16-
<script
17-
async
18-
onload="initSakanaWidget()"
19-
src="https://cdn.jsdelivr.net/npm/[email protected]/lib/sakana.min.js"
20-
></script>
12+
<script async onload="initSakanaWidget()"
13+
src="https://cdn.jsdelivr.net/npm/[email protected]/lib/sakana.min.js"></script>

_layouts/home.html

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
---
55

66
{% include lang.html %}
7+
{% include sakana.html %}
8+
79

810
{% assign pinned = site.posts | where: 'pin', 'true' %}
911
{% assign default = site.posts | where_exp: 'item', 'item.pin != true and item.hidden != true' %}

0 commit comments

Comments
 (0)