forked from Huxpro/huxblog-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
81 lines (66 loc) · 2.06 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
---
layout: page
title: "About"
description: ""
header_img: "img/about-bg.jpg"
---
<!-- Language Selector -->
<select onchange="onLanChange(this.options[this.options.selectedIndex].value)">
<option value="0" selected> 中文 Chinese </option>
<option value="1"> English </option>
</select>
<!-- Chinese Version -->
<div class="zh post-container">
<blockquote>
</blockquote>
<br>
<br>
<p style="text-align:right;">
</p>
</div>
<!-- English Version -->
<div class="en post-container">
<blockquote></blockquote>
<p></p>
<p style="text-align:right;"> </p>
</div>
<!-- Handle Language Change -->
<script type="text/javascript">
var $zh = document.querySelector(".zh");
var $en = document.querySelector(".en");
function onLanChange(index) {
if (index == 0) {
$zh.style.display = "block";
$en.style.display = "none";
} else {
$en.style.display = "block";
$zh.style.display = "none";
}
}
onLanChange(0);
</script>
{% if site.disqus_website_url %}
<!-- disqus 评论框 start -->
<div class="comment">
<div id="disqus_thread" class="disqus-thread">
</div>
</div>
<!-- disqus 评论框 end -->
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
var disqus_config = function () {
this.page.url = '{{site.url}}{{page.url}}';
this.page.identifier = "{{page.url}}";
};
(function () { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://' + '{{site.disqus_website_url}}'.replaceAll('.', '-') + '.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<!-- disqus 公共JS代码 end -->
{% endif %}