-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
274 lines (172 loc) · 6.7 KB
/
index.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
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!doctype html>
<html lang="zh-Hans">
<head><meta name="generator" content="Hexo 3.9.0">
<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="ZackLee">
<meta name="keywords" content="后端,php,java,yii2,ci,laravel,js,jquery,javascript,html5,hexo,github,开发者,程序媛,极客,编程,代码,开源,IT网站,用户体验,Developer,Programmer,Coder,Geek,html,css,css3">
<meta name="description" content="擅长php、linux、vue、小程序。此为博客一枚。">
<title>ZackLee的博客</title>
<link rel="alternate" href="/atom.xml" title="ZackLee的博客">
<link rel="shortcut icon" href="/hollow.ico">
<link rel="stylesheet" href="/css/random.css">
<link rel="stylesheet" href="/css/vegas.min.css">
<link rel="stylesheet" href="/css/highlight-railscasts.css">
<link rel="stylesheet" href="/css/jquery.fancybox.css">
<link rel="stylesheet" href="/css/iconfont/iconfont.css">
<link rel="stylesheet" href="/css/jquery.fancybox-thumbs.css">
<link rel="stylesheet" href="/css/plyr.css">
</head>
<div class="random-center hide-area">
<div id="random-index">
<div class="center-field">
<img class="avatar" src="/img/avatar.png" width="120" height="120" onclick="openUserCard()">
</div>
<div class="center-field">
<div class="title" onclick="openUserCard()">ZackLee的博客</div>
<div class="sub-title" onclick="openUserCard()">为学大益,在自求变化气质。</div>
</div>
<hr>
<div class="center-field">
<ul class="index-nav-link">
<li><a href="https://izacklee.cn/blog">主页</a></li>
<li><a href="/blog/essay">随笔</a></li>
<li><a href="/blog/archives">所有文章</a></li>
<li><a href="/blog/tags">标签云</a></li>
<li><a href="/blog/about">关于我</a></li>
</ul>
<ul class="social-icon">
<li>
<a target="_blank" href="https://github.com/izacklee">
<i class="icon iconfont github"></i>
</a>
</li>
<li>
<a target="_blank" href="https://segmentfault.com/u/zacklee">
<i class="icon iconfont segmentfault"></i>
</a>
</li>
<li>
<a target="_blank" href="https://www.jianshu.com/u/f6f1a603a29f">
<i class="icon iconfont jian"></i>
</a>
</li>
<li>
<a target="_blank" href="mailto:[email protected]">
M
</a>
</li>
</ul>
</div>
</div>
</div>
<div id="user-card">
<div class="center-field">
<img class="avatar" src="/img/avatar.png">
<p id="description">擅长php、linux、vue、小程序。此为博客一枚。</p>
<ul class="social-icon">
<li>
<a target="_blank" href="https://github.com/izacklee">
<i class="icon iconfont github"></i>
</a>
</li>
<li>
<a target="_blank" href="https://segmentfault.com/u/zacklee">
<i class="icon iconfont segmentfault"></i>
</a>
</li>
<li>
<a target="_blank" href="https://www.jianshu.com/u/f6f1a603a29f">
<i class="icon iconfont jian"></i>
</a>
</li>
<li>
<a target="_blank" href="mailto:[email protected]">
M
</a>
</li>
</ul>
</div>
</div>
<div id="btn-view">Hide</div>
<script>
// is trigger analytics / tongji script
var isIgnoreHost = false;
if(window && window.location && window.location.host) {
isIgnoreHost = ["localhost","127.0.0.1"].some(function(address){
return 0 === window.location.host.indexOf(address);
});
}
var isTriggerAnalytics = !( true && isIgnoreHost );
</script>
<script src="/js/jquery-2.2.3.min.js"></script>
<script src="/js/vegas.min.js"></script>
<script src="/js/random.js"></script>
<script src="/js/highlight.pack.js"></script>
<script src="/js/jquery.mousewheel.pack.js"></script>
<script src="/js/jquery.fancybox.pack.js"></script>
<script src="/js/jquery.fancybox-thumbs.js"></script>
<script src="/js/plyr.js"></script>
<script>
// fancybox
var backgroundImages = [];
backgroundImages.push('/img/sea.jpg?imageView2/1/w/__width__/h/__height__');
backgroundImages.push('/img/peak.jpg?imageView2/1/w/__width__/h/__height__');
$('#post').each(function(i){
$(this).find('img').each(function(){
if ($(this).parent().hasClass('fancybox') || $(this).parent().hasClass('fancybox-thumb')) return;
var alt = this.alt || this.title;
if (alt) $(this).after('<span class="caption">' + alt + '</span>');
$(this).wrap('<a href="' + this.src + '" title="' + alt + '" class="fancybox"></a>');
});
$(this).find('.fancybox').each(function(){
$(this).attr('rel', 'post' + i);
});
});
$(".fancybox").fancybox();
var vegasConfig = {"preloadImage":true,"transition":["zoomIn"],"timer":true,"delay":30000,"shuffle":true,"count":12};
var unsplashConfig = "";
// is show background images
var turnoffBackgroundImage = false;
var backgroundColor = "34495E";
$(".fancybox-thumb").fancybox({
prevEffect: 'none',
nextEffect: 'none',
helpers: {
title: {
type: 'outside'
},
thumbs: {
width: 50,
height: 50
}
}
});
// show video with plyr
$(".video-container iframe").each(function(i){
var url = $(this).attr('src');
var id = url.split('/').pop();
var plyrContainer = document.createElement('div');
plyrContainer.className = 'plyr';
var plyrElement = document.createElement('div');
plyrElement.dataset.videoId = id;
switch(true) {
case url.search('youtube.com') >= 0:
plyrElement.dataset.type = 'youtube';
break;
case url.search('vimeo.com') >= 0:
plyrElement.dataset.type = 'vimeo';
break;
default:
return;
};
plyrContainer.appendChild(plyrElement);
$(this).parent().html(plyrContainer);
});
plyr.setup('.plyr', {iconUrl: '/css/sprite.svg'});
</script>
<div class="zhanzhang">
<!-- CNZZ 站长统计 -->
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1277974323'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "v1.cnzz.com/z_stat.php%3Fid%3D1277974323%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
</div>
</html>