-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathabout.html
103 lines (89 loc) · 3.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
---
layout: page
title: "About"
description: "Hey, this is pmf."
header-img: "img/about-bg.jpg"
---
<!-- Chinese Version -->
<div class="en post-container">
<blockquote>
emmm...
</blockquote>
<!--<br>
I wanna roll with him, a hard pair we will be<br>
I don't give a crap about whales, so go and hug a tree (I love it)<br>
Russian Roulette is not the same without a gun<br>
And baby when it's love, if it's not rough it isn't fun<br>
<br>
<p style="text-align:right;">
——Eric Cartman
</p>-->
</div>
{% if site.duoshuo_username %}
<!-- 多说评论框 start -->
<div class="comment">
<div class="ds-thread"
{% if site.duoshuo_username == "blackjar" %}
data-thread-key="{{site.duoshuo_username}}/about"
{% endif %}
data-title="{{page.title}}"
data-url="{{site.url}}/about/"></div>
</div>
<!-- 多说评论框 end -->
<!-- Duoshuo hacking -->
<input id="dsUser" type="hidden" value="{{site.duoshuo_username}}" />
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
<script type="text/javascript">
// dynamic User hacking by pmf
var _user = document.getElementById('dsUser').value;
// duoshuo comment query.
var duoshuoQuery = {short_name: _user };
(function() {
var ds = document.createElement('script');
ds.type = 'text/javascript';ds.async = true;
ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
ds.charset = 'UTF-8';
(document.getElementsByTagName('head')[0]
|| document.getElementsByTagName('body')[0]).appendChild(ds);
})();
</script>
<!-- 多说公共JS代码 end -->
{% endif %}
{% if site.disqus_username %}
<!-- disqus 评论框 start -->
<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 %}
{% if site.github_issue %}
<div id="container"></div>
<link rel="stylesheet" href="https://imsun.github.io/gitment/style/default.css">
<script src="https://imsun.github.io/gitment/dist/gitment.browser.js"></script>
<script>
var gitment = new Gitment({
//id: '', // 可选。默认为 location.href
owner: 6545011,
repo: 'https://github.com/MingfeiPan/issueforsite',
oauth: {
client_id: '2175efeca7a681758af0',
client_secret: '11ef935b9ac8e1a1091002133353f11e60b2bcf0',
},
})
gitment.render('comments')
</script>
{% endif %}