-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpages_launched.html
205 lines (155 loc) · 7.09 KB
/
pages_launched.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
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<!DOCTYPE HTML>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="Keywords" content="blog"/>
<meta name="Description" content="blog"/>
<title>Simple</title>
<link rel="shortcut icon" href="/static/favicon.png"/>
<link rel="stylesheet" type="text/css" href="/main.css" />
</head>
<body>
<div class="main">
<div class="header">
<ul id="pages">
<li><a href="/">home</a></li>
<li><a href="/#/tags">tags</a></li>
<li><a href="/#/archive">archive</a></li>
</ul>
</div>
<div class="wrap-header">
<h1>
<a href="/" id="title"></a>
</h1>
</div>
<div id="md" style="display: none;">
<!-- markdown -->
## WHAT
这里是 **<sub>17</sub>Chlorine** 的Github Pages。
## WHO
我是谁?<del>认识我的人应该知道我,不认识我的人自然也不知道我。</del>
2009年前的百度化学吧的网友也许认识我,我是 **等电子的氯** 。
三国杀规则界的朋友可能也认识我,我是 **天气真好** 。
## WHY
[Github](https://github.com/)这个神奇的网站我已经注册了三年多了,但一直都没想到用它。昨天我心血来潮,把这个Pages给开通了。
其根本原因,是因为很多朋友报告说[我的网站](http://gltjk.com/)上不去。我自己试了试,果然也上不去,但是一开VPN就OK了——八成是被墙了吧。
我就无语了,我的网站主要还在更新的只是些三国杀的规则而已,这也能被墙盯上,算是够倒霉的。当然,如果我银子多点买了个独立IP主机,估计就不会有这个问题了。
总而言之,这就算是半个新家了,我会本着(伪)Geek的精神继续在这儿折腾的,欢迎围观。
## HOW
话说这个主页用的是一个叫[Simple](https://github.com/isnowfy/simple)的静态博客,还挺不错的,支持Markdown。
Markdown大法好,嗯嗯。
<del>竟然还支持MathJax,于是放几个简单的公式:</del>
$e ^ {i \pi} +1=0$
$a_{n}=\frac{\sqrt{5}}{5} \cdot \left[\left(\frac{1 + \sqrt{5}}{2}\right)^{n} - \left(\frac{1 - \sqrt{5}}{2}\right)^{n}\right]$
$E = m c^2$
公式还是不显示吧,不知什么bug导致渲染出来都是双份的T_T
## WHITHER
我好像还没养成写博客的习惯,想到了才偶尔驻足一下,未必会天天更。
罢了,反正也没人看的::>_<::
所以,就这样吧。
---
哦对了,我还有一个Logo呢:
![Chlorine](https://avatars2.githubusercontent.com/u/1887124)
<!-- markdown end -->
</div>
<div class="entry" id="main">
<!-- content -->
<h2 id="what">WHAT</h2>
<p>这里是 <strong><sub>17</sub>Chlorine</strong> 的Github Pages。</p>
<h2 id="who">WHO</h2>
<p>我是谁?<del>认识我的人应该知道我,不认识我的人自然也不知道我。</del></p>
<p>2009年前的百度化学吧的网友也许认识我,我是 <strong>等电子的氯</strong> 。</p>
<p>三国杀规则界的朋友可能也认识我,我是 <strong>天气真好</strong> 。</p>
<h2 id="why">WHY</h2>
<p><a href="https://github.com/">Github</a>这个神奇的网站我已经注册了三年多了,但一直都没想到用它。昨天我心血来潮,把这个Pages给开通了。</p>
<p>其根本原因,是因为很多朋友报告说<a href="http://gltjk.com/">我的网站</a>上不去。我自己试了试,果然也上不去,但是一开VPN就OK了——八成是被墙了吧。</p>
<p>我就无语了,我的网站主要还在更新的只是些三国杀的规则而已,这也能被墙盯上,算是够倒霉的。当然,如果我银子多点买了个独立IP主机,估计就不会有这个问题了。</p>
<p>总而言之,这就算是半个新家了,我会本着(伪)Geek的精神继续在这儿折腾的,欢迎围观。</p>
<h2 id="how">HOW</h2>
<p>话说这个主页用的是一个叫<a href="https://github.com/isnowfy/simple">Simple</a>的静态博客,还挺不错的,支持Markdown。</p>
<p>Markdown大法好,嗯嗯。</p>
<p><del>竟然还支持MathJax,于是放几个简单的公式:</del></p>
<pre><code>$e ^ {i \pi} +1=0$
$a_{n}=\frac{\sqrt{5}}{5} \cdot \left[\left(\frac{1 + \sqrt{5}}{2}\right)^{n} - \left(\frac{1 - \sqrt{5}}{2}\right)^{n}\right]$
$E = m c^2$
</code></pre>
<p>公式还是不显示吧,不知什么bug导致渲染出来都是双份的T_T</p>
<h2 id="whither">WHITHER</h2>
<p>我好像还没养成写博客的习惯,想到了才偶尔驻足一下,未必会天天更。</p>
<p>罢了,反正也没人看的::>_<:: </p>
<p>所以,就这样吧。</p>
<hr>
<p>哦对了,我还有一个Logo呢:</p>
<p><img src="https://avatars2.githubusercontent.com/u/1887124" alt="Chlorine" title=""></p>
<!-- content end -->
</div>
<br>
<br>
<div id="disqus_thread"></div>
<div class="footer">
<p>© Copyright 2014 by isnowfy, Designed by isnowfy</p>
</div>
</div>
<script src="main.js"></script>
<script src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ["\\(", "\\)"]], processEscapes: true}});
</script>
<script id="content" type="text/mustache">
<h1>{{title}}</h1>
<div class="tag">
{{date}}
{{#tags}}
<a href="/#/tag/{{name}}">#{{name}}</a>
{{/tags}}
</div>
</script>
<script id="pagesTemplate" type="text/mustache">
{{#pages}}
<li>
<a href="{{path}}">{{title}}</a>
</li>
{{/pages}}
</script>
<script>
$(document).ready(function() {
$.ajax({
url: "main.json",
type: "GET",
dataType: "json",
success: function(data) {
$("#title").html(data.name);
var pagesTemplate = Hogan.compile($("#pagesTemplate").html());
var pagesHtml = pagesTemplate.render({"pages": data.pages});
$("#pages").append(pagesHtml);
//path
var path = "pages_launched.html";
//path end
var now = 0;
for (var i = 0; i < data.posts.length; ++i)
if (path == data.posts[i].path)
now = i;
var post = data.posts[now];
var tmp = post.tags.split(" ");
var tags = [];
for (var i = 0; i < tmp.length; ++i)
if (tmp[i].length > 0)
tags.push({"name": tmp[i]});
var contentTemplate = Hogan.compile($("#content").html());
var contentHtml = contentTemplate.render({"title": post.title, "tags": tags, "date": post.date});
$("#main").prepend(contentHtml);
if (data.disqus_shortname.length > 0) {
var disqus_shortname = data.disqus_shortname;
(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>
</body>
</html>