-
Notifications
You must be signed in to change notification settings - Fork 1
/
about.html
95 lines (79 loc) · 1.9 KB
/
about.html
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
layout: common-page
title: "About"
description: ""
---
<!-- Language Selector -->
<select onchange= "onLanChange(this.options[this.options.selectedIndex].value)">
<option value="0" selected> 中文 </option>
<option value="1"> English </option>
<option value="2"> 日本語 </option>
</select>
<!-- Chinese Version -->
<div class="zh">
<blockquote>
引用区
</blockquote>
中文版 敬请期待
</div>
<!-- English Version -->
<div class="en">
<blockquote>
block quote
</blockquote>
<p>
English version is (never) coming soon
</p>
<p style="text-align:right;">
-- Mensu
</p>
</div>
<!-- Japanese Version -->
<div class="jp">
<blockquote>
なに書けばいいかなって迷ったり
</blockquote>
<p>
お楽しみに
</p>
<p style="text-align:right;">
-- メンス
</p>
</div>
<style>
.ds-share,
.ds-meta {
visibility: hidden;
}
</style>
<hr class="hr-below-something">
{% if site.disqus_username %}
<!-- disqus 评论框 start -->
<div class="comment">
<div id="disqus_thread" class="disqus-thread">
</div>
</div>
<!-- disqus 评论框 end -->
{% endif %}
<!-- Handle Language Change -->
<script type="text/javascript">
var $zh = document.querySelector(".zh");
var $en = document.querySelector(".en");
var $jp = document.querySelector(".jp");
function onLanChange(index){
if (index == 0){
$zh.style.display = "block";
$en.style.display = "none";
$jp.style.display = "none";
} else if (index == 1){
$en.style.display = "block";
$zh.style.display = "none";
$jp.style.display = "none";
} else if (index == 2) {
$jp.style.display = "block";
$en.style.display = "none";
$zh.style.display = "none";
}
}
onLanChange(0);
</script>