mirror of https://github.com/Mabbs/mabbs.github.io
				
				
			
			
			
				Browse Source
			
			
			
			
				
		- /_layouts/default.html - /_includes/live2d.html - /rss.xml - /search.json - /opensearch.xml - /index.html - /feed.json - /404.mdpull/178/head
				 8 changed files with 52 additions and 33 deletions
			
			
		@ -0,0 +1,33 @@
					 | 
				
			||||
<!--[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> | 
				
			||||
  <div class="live_talk_input_body"> | 
				
			||||
    <form id="live_talk_input_form"> | 
				
			||||
      <div class="live_talk_input_name_body" {% unless page.layout == "post" %}style="display:none;"{% endunless %}> | 
				
			||||
        <input 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;"> 想问这篇文章</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="要和我聊什么呀?" /> | 
				
			||||
        <button type="submit" class="live_talk_send_btn" id="talk_send">发送</button> | 
				
			||||
      </div> | 
				
			||||
    </form> | 
				
			||||
  </div> | 
				
			||||
  <input name="live_talk" id="live_talk" value="1" type="hidden" /> | 
				
			||||
  <div class="live_ico_box" style="display:none;"> | 
				
			||||
    <div class="live_ico_item type_info" id="showInfoBtn"></div> | 
				
			||||
    <div class="live_ico_item type_talk" id="showTalkBtn"></div> | 
				
			||||
    <div class="live_ico_item type_music" id="musicButton"></div> | 
				
			||||
    <div class="live_ico_item type_youdu" id="youduButton"></div> | 
				
			||||
    <div class="live_ico_item type_quit" id="hideButton"></div> | 
				
			||||
    <input name="live_statu_val" id="live_statu_val" value="0" type="hidden" /> | 
				
			||||
    <audio src="" style="display:none;" id="live2d_bgm" data-bgm="0" preload="none"></audio> | 
				
			||||
    <input id="duType" value="douqilai" type="hidden" /> | 
				
			||||
  </div> | 
				
			||||
</div> | 
				
			||||
<div id="open_live2d">召唤伊斯特瓦尔</div> | 
				
			||||
<!-- <![endif]--> | 
				
			||||
@ -1,3 +1,4 @@
					 | 
				
			||||
--- | 
				
			||||
--- | 
				
			||||
 | 
				
			||||
{"version":"https://jsonfeed.org/version/1","title":"{{ site.title | xml_escape }}","home_page_url":"{{ "/" | absolute_url }}","feed_url":"{{ "/feed.json" | absolute_url }}","description":{{ site.description | jsonify }},"favicon":"{{ "/favicon.ico" | absolute_url }}","expired":false,{% if site.author %}"author":{% if site.author.name %}{"name":"{{ site.author.name }}","url":{% if site.author.url %}"{{ site.author.url }}"{% else %}null{% endif %},"avatar":{% if site.author.avatar %}"{{ site.author.avatar }}"{% else %}null{% endif %}},{% else %}{"name":"{{ site.author }}"},{% endif %}{% endif %}"items":[{% for post in site.posts limit:10 %}{"id":"{{ post.url | absolute_url }}","title":{{ post.title | jsonify }},"summary":{{ post.excerpt | strip_html | jsonify }},"content_text":{{ post.content | strip_html | strip_newlines | jsonify }},"content_html":{{ post.content | strip_newlines | jsonify }},"url":"{{ post.url | absolute_url }}",{% if post.image.size > 1 %}"image":{{ post.image | jsonify }},{% endif %}{% if post.link.size > 1 %}"external_url":"{{ post.link }}",{% endif %}{% if post.banner.size > 1 %}"banner_image":"{{ post.banner }}",{% endif %}{% if post.tags.size > 1 %}"tags":{{ post.tags | jsonify }},{% endif %}{% if post.enclosure.size > 1 %}"attachments":[{  "url":"{{ post.enclosure }}",  "mime_type":"{{ post.enclosure_type }}",  "size_in_bytes":"{{ post.enclosure_length }}"}],{% endif %}"date_published":"{{ post.date | date_to_xmlschema }}","date_modified":"{{ post.date | date_to_xmlschema }}",{% if post.author %}"author":{% if post.author.name %} {"name":"{{ post.author.name }}","url":{% if post.author.url %}"{{ post.author.url }}"{% else %}null{% endif %},"avatar":{% if post.author.avatar %}"{{ post.author.avatar }}"{% else %}null{% endif %}}{% else %}"{{ post.author }}"{% endif %}{% else %}"author":{% if site.author.name %} {"name":"{{ site.author.name }}","url":{% if site.author.url %}"{{ site.author.url }}"{% else %}null{% endif %},"avatar":{% if site.author.avatar %}"{{ site.author.avatar }}"{% else %}null{% endif %}}{% else %}{"name":"{{ site.author }}"}{% endif %}{% endif %}}{% if forloop.last == false %},{% endif %}{% endfor %}]} | 
				
			||||
@ -0,0 +1,12 @@
					 | 
				
			||||
--- | 
				
			||||
--- | 
				
			||||
 | 
				
			||||
<?xml version="1.0" encoding="UTF-8"?> | 
				
			||||
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:moz="http://www.mozilla.org/2006/browser/search/"> | 
				
			||||
  <ShortName>{{ site.title }}</ShortName> | 
				
			||||
  <Description>搜索 {{ site.title }}</Description> | 
				
			||||
  <InputEncoding>UTF-8</InputEncoding> | 
				
			||||
  <Image width="16" height="16" type="image/x-icon">{{ "/favicon.ico" | absolute_url }}</Image> | 
				
			||||
  <Url type="text/html" method="get" template="{{ "/search.html" | absolute_url }}?keyword={searchTerms}"/> | 
				
			||||
  <moz:SearchForm>{{ "/search.html" | absolute_url }}</moz:SearchForm> | 
				
			||||
</OpenSearchDescription> | 
				
			||||
@ -1,3 +1,4 @@
					 | 
				
			||||
--- | 
				
			||||
--- | 
				
			||||
 | 
				
			||||
[{% for post in site.posts %}{% unless post.layout == "encrypt" %}{ "title": "{{ post.title | escape }}", "category": "{{ post.category }}", "tags": "{{ post.tags | join: ', ' }}", "url": "{{ site.baseurl }}{{ post.url }}", "date": "{{ post.date | date: "%Y/%m/%d" }}", "content": {{ post.content | strip_html | strip_newlines | jsonify }} }{% unless forloop.last %},{% endunless %}{% endunless %}{% endfor %}] | 
				
			||||
					 | 
				
			||||
					Loading…
					
					
				
		Reference in new issue