summaryrefslogtreecommitdiff
path: root/_layouts/default.html
diff options
context:
space:
mode:
authormayx <mayx@outlook.com>2024-10-21 13:16:17 +0200
committermayx <mayx@outlook.com>2024-10-21 13:16:17 +0200
commit85aa9652185aceeae0f320fe8a4a7248514c49a3 (patch)
tree8dcb6c3eb2e2229b7570f51027554fe826aaa1ea /_layouts/default.html
parent0e065bf28214b7414d87252c6c53ea2483a36228 (diff)
Update 3 files
- /Live2dHistoire/live2d/js/message.js - /Live2dHistoire/live2d/css/live2d.css - /_layouts/default.html
Diffstat (limited to '_layouts/default.html')
-rw-r--r--_layouts/default.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_layouts/default.html b/_layouts/default.html
index f15881c..4429242 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -112,8 +112,12 @@
<div class="message" style="opacity:0"></div>
<canvas id="live2d" width="500" height="560" class="live2d"></canvas>
<div class="live_talk_input_body">
- <div class="live_talk_input_name_body" style="display:none;">
- <input name="name" type="hidden" class="live_talk_name white_input" id="AIuserName" value="Mayx_Blog_Talk" />
+ <div class="live_talk_input_name_body" {% unless page.layout == "post" %}style="display:none;"{% endif %}>
+ <input name="name" type="checkbox" id="load_this">
+ <input type="hidden" id="post_id" value="{{ page.url }}">
+ <label for="load_this">
+ <span style="font-size: 11px; color: #fff;">&nbsp;想问这篇文章</span>
+ </label>
</div>
<div class="live_talk_input_text_body">
<input name="talk" type="text" class="live_talk_talk white_input" id="AIuserText" autocomplete="off" placeholder="要和我聊什么呀?"/>