forked from klovien/klovien.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
3-about.html
142 lines (113 loc) · 4.36 KB
/
3-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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
---
layout: page
title: "关于"
description: "分享我所知道的知识"
header-img: "img/post-bg-rwd.jpg"
---
<!-- Language Selector -->
<!-- <select class="sel-lang" 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">
<!--copied from markdown -->
<blockquote><p>愿你一生努力,一生被爱<br>
想要的都拥有,得不到的都释怀</p></blockquote>
<p>Hi,我是<strong>焦旭峰,</strong>现就读于华南理工大学自动化专业。</p>
<p>建立此博客的初衷,在于分享Java开发学习过程中的知识。</p>
<p>希望大家可以从这里获得帮助,共同进步!</p>
<p>如果您有什么建议,欢迎留言探讨!您也可关注我的CSDN账号:<a href="https://blog.csdn.net/system122">👉点我吧!</a>。~</p>
<p></p>
</div>
<!-- English Version -->
<!-- <div class="en post-container">
<blockquote><p>Yet another iOS Developer. <br>
Yet another Life-long Student.</p></blockquote>
<p>Hi, I am <strong>Baiying Qiu</strong>,you can call me <strong>BY</strong>. I am an iOS software engineer and currently working in Xiamen</p>
<p>This is my personal blog, through making Github Pages and Jekyll.My GitHub 👉 <a href="http://github.com/qiubaiying">Github·BY</a>.</p>
<p>I am a sports enthusiast, I like fitness, running and boxing.</p>
<h5>Talks</h5>
<ul>
<li><a href="https://github.com">GitHub</a></li>
<li><a href="http://jekyll.com.cn/">jekyll</a></li>
<li><a href="https://pages.github.com/">GitHub Pages</a></li>
<li><a href="https://qiubaiying.github.io">BY</a></li>
</ul>
</div> -->
<!-- Handle Language Change -->
<script type="text/javascript">
// get nodes
var $zh = document.querySelector(".zh");
var $en = document.querySelector(".en");
var $select = document.querySelector("select");
// bind hashchange event
window.addEventListener('hashchange', _render);
// handle render
function _render(){
var _hash = window.location.hash;
// en
if(_hash == "#en"){
$select.selectedIndex = 1;
$en.style.display = "block";
$zh.style.display = "none";
// zh by default
}else{
// not trigger onChange, otherwise cause a loop call.
$select.selectedIndex = 0;
$zh.style.display = "block";
$en.style.display = "none";
}
}
// handle select change
function onLanChange(index){
if(index == 0){
window.location.hash = "#zh"
}else{
window.location.hash = "#en"
}
}
// init
_render();
</script>
<!-- Gitalk 评论 start -->
{% if site.gitalk.enable %}
<!-- Gitalk link -->
<link rel="stylesheet" href="https://unpkg.com/gitalk/dist/gitalk.css">
<script src="https://unpkg.com/gitalk@latest/dist/gitalk.min.js"></script>
<div id="gitalk-container"></div>
<script type="text/javascript">
var gitalk = new Gitalk({
clientID: '{{site.gitalk.clientID}}',
clientSecret: '{{site.gitalk.clientSecret}}',
repo: '{{site.gitalk.repo}}',
owner: '{{site.gitalk.owner}}',
admin: ['{{site.gitalk.admin}}'],
distractionFreeMode: {{site.gitalk.distractionFreeMode}},
id: 'about',
});
gitalk.render('gitalk-container');
</script>
{% endif %}
<!-- Gitalk end -->
<!-- disqus 评论框 start -->
{% if site.disqus.enable %}
<div class="comment">
<div id="disqus_thread" class="disqus-thread">
</div>
</div>
<!-- disqus 评论框 end -->
<!-- disqus 公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
/* * * CONFIGURATION VARIABLES * * */
var disqus_shortname = "{{site.disqus.username}}";
var disqus_identifier = "{{site.disqus.username}}/{{page.url}}";
var disqus_url = "{{site.url}}{{page.url}}";
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<!-- disqus 公共JS代码 end -->
{% endif %}