-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (66 loc) · 6.22 KB
/
index.html
File metadata and controls
76 lines (66 loc) · 6.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
---
layout: default
---
<script>
/*! Image Map Resizer (imageMapResizer.min.js ) - v0.6.2 - 2016-06-16
* Desc: Resize HTML imageMap to scaled image.
* Copyright: (c) 2016 David J. Bradshaw - dave@bradshaw.net
* License: MIT
*/
!function(){"use strict";function a(){function a(){function a(a){function c(a){return a*b[1===(d=1-d)?"width":"height"]}var d=0;return a.split(",").map(Number).map(c).map(Math.floor).join(",")}for(var b={width:l.width/m.width,height:l.height/m.height},c=0;j>c;c++)i[c].coords=a(k[c])}function c(){var b=null,c=null;m.onload=function(){b=l.width,c=l.height,(b!==m.width||c!==m.height)&&a()},l.onload=function(){null!==b&&l.width!==b&&a()},m.src=l.src}function d(){function c(){clearTimeout(n),n=setTimeout(a,250)}b(l,"load",a),b(window,"resize",c),b(window,"focus",a),b(window,"readystatechange",a),b(document,"fullscreenchange",a)}function e(a){return a.coords.replace(/ *, */g,",").replace(/ +/g,",")}function f(){return"function"==typeof h._resize}function g(){h._resize=a,i=h.getElementsByTagName("area"),j=i.length,k=Array.prototype.map.call(i,e),l=document.querySelector('img[usemap="#'+h.name+'"]'),m=new Image}var h=this,i=null,j=null,k=null,l=null,m=null,n=null;f()?h._resize():(g(),d(),c())}function b(a,b,c){"addEventListener"in window?a.addEventListener(b,c,!1):"attachEvent"in window&&a.attachEvent("on"+b,c)}function c(){function b(b){if(!b.tagName)throw new TypeError("Object is not a valid DOM element");if("MAP"!==b.tagName.toUpperCase())throw new TypeError("Expected <MAP> tag, found <"+b.tagName+">.");a.call(b)}return function(a){switch(typeof a){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(a||"map"),b);break;case"object":b(a);break;default:throw new TypeError("Unexpected data type ("+typeof a+").")}}}"function"==typeof define&&define.amd?define([],c):"object"==typeof exports?module.exports=c():window.imageMapResize=c(),"jQuery"in window&&(jQuery.fn.imageMapResize=function(){return this.filter("map").each(a).end()})}(),function(){Array.prototype.map||(Array.prototype.map=function(a){"use strict";if(void 0===this||null===this||"function"!=typeof a)throw new TypeError;for(var b=Object(this),c=b.length>>>0,d=new Array(c),e=arguments.length>=2?arguments[1]:void 0,f=0;c>f;f++)f in b&&(d[f]=a.call(e,b[f],f,b));return d}),Array.prototype.forEach||(Array.prototype.forEach=function(a){"use strict";if(void 0===this||null===this||"function"!=typeof a)throw new TypeError;for(var b=Object(this),c=b.length>>>0,d=arguments.length>=2?arguments[1]:void 0,e=0;c>e;e++)e in b&&a.call(d,b[e],e,b)})}();
window.onload = function() {
imageMapResize("#abolycovermap");
}
</script>
<div class="home">
<div style="overflow: auto; width: 100%; margin-bottom: 1.5em;">
<a href="/aboly" title="《一瓶论语》"><img src="/img/abolycover.png" usemap="#abolycovermap" alt="《一瓶论语》" width="48%" style="display: block; float: left"/></a>
<a href="/ly" title="《论语》白文版"><img src="/img/lycover.png" alt="《论语》白文版" width="48%" style="display: block; float: right"/></a>
</div>
<ul>
<li>《一瓶论语》、《论语》PDF版下载:<a href="https://github.com/abolybook/aboly/releases" target="_blank">GitHub</a>,<a href="https://pan.baidu.com/s/1eRp6vMq#list/path=%2Faboly" target="_blank">百度网盘</a></li>
<li>《论语》TTS有声版:<br>
<audio src="https://github.com/abolybook/ly-tts/releases/download/v0.3.0d/ly-tts.mp3" controls="controls">
哎呀,你的浏览器不支持直接播放MP3,请试试最新版的Chrome或者Firefox浏览器吧。
</audio><br>
下载:<a href="https://github.com/abolybook/ly-tts/releases" target="_blank">GitHub</a>,<a href="https://pan.baidu.com/s/1geWmf9D#list/path=%2Fly-tts" target="_blank">百度网盘</a>
</li>
</ul>
<ul class="post-list">
{% for post in site.posts %}
<li>
<span class="post-meta">{{ post.date | date: "%b %-d, %Y" }}</span>
<h2>
<a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</h2>
</li>
{% endfor %}
</ul>
<p class="rss-subscribe" style="text-align: right"><a href="{{ "/feed.xml" | prepend: site.baseurl }}">RSS订阅</a></p>
</div>
<map name="abolycovermap" id="abolycovermap">
<area shape="circle" coords="373,480,30" href="aboly#topicxiao4" alt="孝" title="孝">
<area shape="circle" coords="508,843,29" href="aboly#topichui4" alt="惠" title="惠">
<area shape="circle" coords="544,460,29" href="aboly#topicqian1" alt="谦" title="谦">
<area shape="circle" coords="212,547,29" href="aboly#topicyou3" alt="友" title="友">
<area shape="circle" coords="602,748,29" href="aboly#topiczhong1" alt="忠" title="忠">
<area shape="circle" coords="270,835,29" href="aboly#topiczhi4a" alt="智" title="智">
<area shape="circle" coords="307,547,36" href="aboly#topicren2" alt="仁" title="仁">
<area shape="circle" coords="306,452,29" href="aboly#topicyi4" alt="义" title="义">
<area shape="circle" coords="595,583,29" href="aboly#topicchi3" alt="耻" title="耻">
<area shape="circle" coords="343,835,29" href="aboly#topiczhi4" alt="志" title="志">
<area shape="circle" coords="441,815,29" href="aboly#topiclian2" alt="廉" title="廉">
<area shape="circle" coords="508,748,36" href="aboly#topiczheng4" alt="政" title="政">
<area shape="circle" coords="471,459,29" href="aboly#topicjing4" alt="敬" title="敬">
<area shape="circle" coords="219,784,29" href="aboly#topicyinyue" alt="乐" title="乐">
<area shape="circle" coords="574,815,29" href="aboly#topicyongren" alt="贤" title="贤">
<area shape="circle" coords="306,748,37" href="aboly#topicxue2" alt="学" title="学">
<area shape="circle" coords="508,547,37" href="aboly#topicli3" alt="礼" title="礼">
<area shape="circle" coords="595,511,29" href="aboly#topicwen1" alt="温" title="温">
<area shape="circle" coords="220,712,29" href="aboly#topicwen2" alt="文" title="文">
<area shape="circle" coords="240,613,30" href="aboly#topicshu4" alt="恕" title="恕">
<area shape="circle" coords="574,681,30" href="aboly#topicde2" alt="德" title="德">
<area shape="circle" coords="240,480,29" href="aboly#topicxin4" alt="信" title="信">
<area shape="circle" coords="407,648,64" href="aboly#topicjunzi" alt="君子" title="君子">
<area shape="default" href="aboly" alt="《一瓶论语》" title="《一瓶论语》">
</map>