Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ad26ed0

Browse files
committed
update
1 parent fd0b72d commit ad26ed0

22 files changed

+123
-123
lines changed

LICENSE

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,9 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright 2015-2016 Huxpro
189+
Copyright 2015-2016 ZKGpro
190190

191-
https://github.com/Huxpro/
191+
https://github.com/ZKGpro/
192192

193193
Licensed under the Apache License, Version 2.0 (the "License");
194194
you may not use this file except in compliance with the License.
@@ -204,9 +204,9 @@
204204

205205

206206
=======================================================================
207-
Hux Blog Subcomponents:
207+
ZKG Blog Subcomponents:
208208

209-
The Hux Blog project contains subcomponents with separate copyright
209+
The ZKG Blog project contains subcomponents with separate copyright
210210
notices and license terms. Your use of the source code for the these
211211
subcomponents is subject to the terms and conditions of the following
212212
licenses.

README.md

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Hux Blog
1+
#ZKG Blog
22

3-
###[View Live Hux Blog →](https://huangxuan.me)
3+
###[View Live ZKG Blog →](https://huangxuan.me)
44

55
![](http://huangxuan.me/img/blog-desktop.jpg)
66

@@ -11,28 +11,28 @@
1111
Want to clone a boilerplate instead of my buzz blog? Here comes this!
1212

1313
```
14-
$ git clone [email protected]:Huxpro/huxblog-boilerplate.git
14+
$ git clone [email protected]:ZKGpro/ZKGblog-boilerplate.git
1515
```
1616

17-
**[View Boilerplate Here →](http://huangxuan.me/huxblog-boilerplate/)**
17+
**[View Boilerplate Here →](http://huangxuan.me/ZKGblog-boilerplate/)**
1818

1919

2020
## Porting
2121

22-
- [**Hexo**](https://github.com/Kaijun/hexo-theme-huxblog) by @kaijun
23-
- [**React-SSR**](https://github.com/LucasIcarus/huxpro.github.io/tree/ssr) by @LucasIcarus
22+
- [**Hexo**](https://github.com/Kaijun/hexo-theme-ZKGblog) by @kaijun
23+
- [**React-SSR**](https://github.com/LucasIcarus/ZKGpro.github.io/tree/ssr) by @LucasIcarus
2424

2525
## Translation
2626

27-
- ![cn](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/China.png) **Chinese (Simplified)**: 感谢 [@BrucZhaoR](https://github.com/BruceZhaoR)[中文翻译 →](https://github.com/Huxpro/huxpro.github.io/blob/master/README.zh.md)
27+
- ![cn](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/China.png) **Chinese (Simplified)**: 感谢 [@BrucZhaoR](https://github.com/BruceZhaoR)[中文翻译 →](https://github.com/ZKGpro/ZKGpro.github.io/blob/master/README.zh.md)
2828

2929
## Features
3030

3131
##### New Feature (V1.5.2)
3232

3333
- Annoyed to delete my blog post after clone or pull? **Boilerplate** comes to help you get started quickly and easily merge update.
3434
- `-apple-system` is added in font rule, which display beautiful new font **San Francisco** in iOS 9 by default.
35-
- Fixed [issue#15](https://github.com/Huxpro/huxpro.github.io/issues/15) about code wrap.
35+
- Fixed [issue#15](https://github.com/ZKGpro/ZKGpro.github.io/issues/15) about code wrap.
3636

3737
##### New Feature (V1.5.1)
3838

@@ -120,13 +120,13 @@ You can easily get started by modifying `_config.yml`:
120120

121121
```
122122
# Site settings
123-
title: Hux Blog # title of your website
124-
SEOTitle: Hux Blog # check out docs for more detail
123+
title: ZKG Blog # title of your website
124+
SEOTitle: ZKG Blog # check out docs for more detail
125125
description: "Cool Blog" # ...
126126
127127
# SNS settings
128-
github_username: huxpro # modify this account to yours
129-
weibo_username: huxpro # the footer woule be auto-updated.
128+
github_username: ZKGpro # modify this account to yours
129+
weibo_username: ZKGpro # the footer woule be auto-updated.
130130
131131
# Build settings
132132
# paginate: 10 # nums of posts in one page
@@ -147,7 +147,7 @@ layout: post
147147
title: "Hello 2015"
148148
subtitle: "Hello World, Hello Blog"
149149
date: 2015-01-29 12:00:00
150-
author: "Hux"
150+
author: "ZKG"
151151
header-img: "img/post-bg-2015.jpg"
152152
tags:
153153
- Life
@@ -165,7 +165,7 @@ Seeing more information may be necessary for you to display, from V1.1, a clean,
165165
# Sidebar settings
166166
sidebar: true
167167
sidebar-about-description: "your description here"
168-
sidebar-avatar: /img/avatar-hux.jpg # use absolute URL.
168+
sidebar-avatar: /img/avatar-ZKG.jpg # use absolute URL.
169169
```
170170

171171
We default support *[Featured Tags](#featured-tags)*, *[Mini About Me](#mini-about-me)* and *[Friends](#friends)* these three modules and you can add your own. The sidebar is naturally responsive and would be push to bottom in a small screen size (`<= 992px`, according to [Bootstarp Grid System](http://getbootstrap.com/css/#grid))
@@ -282,7 +282,7 @@ There are a number of tasks it performs like minification of the JavaScript, com
282282

283283
#### Header Image
284284

285-
Change header images of any pages or any posts is pretty easy as mentioned above. But, thanks to [issue #6 (in Chinese)](https://github.com/Huxpro/huxpro.github.io/issues/6) asked, **how to make it looks great?**
285+
Change header images of any pages or any posts is pretty easy as mentioned above. But, thanks to [issue #6 (in Chinese)](https://github.com/ZKGpro/ZKGpro.github.io/issues/6) asked, **how to make it looks great?**
286286

287287
**Well...it is actually a design issue**, not a coding stuff. It is better that you have basic design knowledge, but not is ok, let me told you how to make it well-designed:
288288

@@ -294,7 +294,7 @@ In technical views, it can be done with CSS. However, the opacity of the black o
294294
#### SEO Title
295295

296296
Before V1.4, site setting `title` is not only used for displayed in Home Page and Navbar, but also used to generate the `<title>` in HTML.
297-
It's possible that you want the two things different. For me, my site-title is **Hux Blog”** but I want the title shows in search engine is **“黄玄的博客 | Hux Blog”** which is multi-language.
297+
It's possible that you want the two things different. For me, my site-title is **ZKG Blog”** but I want the title shows in search engine is **“黄玄的博客 | ZKG Blog”** which is multi-language.
298298

299299
So, the SEO Title is introduced to solve this problem, you can set `SEOTitle` different from `title`, and it would be only used to generate HTML `<title>` and setting DuoShuo Sharing.
300300

@@ -313,7 +313,7 @@ For other circumstances, check out existing issues or create a new one!
313313
## License
314314

315315
Apache License 2.0.
316-
Copyright (c) 2015-2016 Huxpro
316+
Copyright (c) 2015-2016 ZKGpro
317317

318-
Hux Blog is derived from [Clean Blog Jekyll Theme (MIT License)](https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll/)
318+
ZKG Blog is derived from [Clean Blog Jekyll Theme (MIT License)](https://github.com/BlackrockDigital/startbootstrap-clean-blog-jekyll/)
319319
Copyright (c) 2013-2016 Blackrock Digital LLC.

_includes/head.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,18 @@
2222
<link rel="stylesheet" href="{{ "/css/bootstrap.min.css" | prepend: site.baseurl }}">
2323

2424
<!-- Custom CSS -->
25-
<link rel="stylesheet" href="{{ "/css/hux-blog.min.css" | prepend: site.baseurl }}">
25+
<link rel="stylesheet" href="{{ "/css/ZKG-blog.min.css" | prepend: site.baseurl }}">
2626

2727
<!-- Pygments Github CSS -->
2828
<link rel="stylesheet" href="{{ "/css/syntax.css" | prepend: site.baseurl }}">
2929

3030
<!-- Custom Fonts -->
3131
<!-- <link href="http://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css"> -->
32-
<!-- Hux change font-awesome CDN to qiniu -->
32+
<!-- ZKG change font-awesome CDN to qiniu -->
3333
<link href="//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" type="text/css">
3434

3535

36-
<!-- Hux Delete, sad but pending in China
36+
<!-- ZKG Delete, sad but pending in China
3737
<link href='http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
3838
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/
3939
css'>

_includes/nav.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
</div>
1414

1515
<!-- Collect the nav links, forms, and other content for toggling -->
16-
<div id="huxblog_navbar">
16+
<div id="ZKGblog_navbar">
1717
<div class="navbar-collapse">
1818
<ul class="nav navbar-nav navbar-right">
1919
<li>
@@ -37,10 +37,10 @@
3737
// in high-perf jank-free CSS3 implementation
3838
var $body = document.body;
3939
var $toggle = document.querySelector('.navbar-toggle');
40-
var $navbar = document.querySelector('#huxblog_navbar');
40+
var $navbar = document.querySelector('#ZKGblog_navbar');
4141
var $collapse = document.querySelector('.navbar-collapse');
4242

43-
var __HuxNav__ = {
43+
var __ZKGNav__ = {
4444
close: function(){
4545
$navbar.className = " ";
4646
// wait until animation end.
@@ -60,9 +60,9 @@
6060
// Bind Event
6161
$toggle.addEventListener('click', function(e){
6262
if ($navbar.className.indexOf('in') > 0) {
63-
__HuxNav__.close()
63+
__ZKGNav__.close()
6464
}else{
65-
__HuxNav__.open()
65+
__ZKGNav__.open()
6666
}
6767
})
6868

@@ -73,13 +73,13 @@
7373
* $toggle/$collapse will break global delegation.
7474
*
7575
* Instead, we use a 'e.target' filter to prevent handler
76-
* added to document close HuxNav.
76+
* added to document close ZKGNav.
7777
*
7878
* Also, we use 'click' instead of 'touchstart' as compromise
7979
*/
8080
document.addEventListener('click', function(e){
8181
if(e.target == $toggle) return;
8282
if(e.target.className == 'icon-bar') return;
83-
__HuxNav__.close();
83+
__ZKGNav__.close();
8484
})
8585
</script>

_layouts/keynote.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</div>
4242
<h1>{{ page.title }}</h1>
4343
{% comment %}
44-
always create a h2 for keeping the margin , Hux
44+
always create a h2 for keeping the margin , ZKG
4545
{% endcomment %}
4646
{% comment %} if page.subtitle {% endcomment %}
4747
<h2 class="subheading">{{ page.subtitle }}</h2>
@@ -74,7 +74,7 @@ <h2 class="subheading">{{ page.subtitle }}</h2>
7474
style="text-align: right"
7575
data-thread-key="{{page.id}}" data-title="{{page.title}}"
7676
data-images="{{ site.url }}{{site.baseurl}}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}"
77-
data-content="{{ content | strip_html | truncate:80 }} | Hux Blog,@Hux黄玄 的个人博客"
77+
data-content="{{ content | strip_html | truncate:80 }} | ZKG Blog,@ZKG黄玄 的个人博客"
7878
data-url="{{site.url}}{{site.baseurl}}{{page.url}}">
7979
<div class="ds-share-inline">
8080
<style>
@@ -202,7 +202,7 @@ <h5>FRIENDS</h5>
202202
{% if site.duoshuo_username %}
203203
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
204204
<script type="text/javascript">
205-
// dynamic User by Hux
205+
// dynamic User by ZKG
206206
var _user = '{{site.duoshuo_username}}';
207207

208208
// duoshuo comment query.

_layouts/post.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
</div>
3636
<h1>{{ page.title }}</h1>
3737
{% comment %}
38-
always create a h2 for keeping the margin , Hux
38+
always create a h2 for keeping the margin , ZKG
3939
{% endcomment %}
4040
{% comment %} if page.subtitle {% endcomment %}
4141
<h2 class="subheading">{{ page.subtitle }}</h2>
@@ -191,7 +191,7 @@ <h5>FRIENDS</h5>
191191
{% if site.duoshuo_username %}
192192
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
193193
<script type="text/javascript">
194-
// dynamic User by Hux
194+
// dynamic User by ZKG
195195
var _user = '{{site.duoshuo_username}}';
196196

197197
// duoshuo comment query.

_posts/2014-01-29-hello-2015.markdown

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
title: "Hello 2015"
44
subtitle: " \"Hello World, Hello Blog\""
55
date: 2015-01-29 12:00:00
6-
author: "Hux"
6+
author: "ZKG"
77
header-img: "img/post-bg-2015.jpg"
88
catalog: true
99
tags:
@@ -15,13 +15,13 @@ tags:
1515

1616
## 前言
1717

18-
Hux 的 Blog 就这么开通了。
18+
ZKG 的 Blog 就这么开通了。
1919

2020
[跳过废话,直接看技术实现 ](#build)
2121

2222

2323

24-
2015 年,Hux 总算有个地方可以好好写点东西了。
24+
2015 年,ZKG 总算有个地方可以好好写点东西了。
2525

2626

2727
作为一个程序员, Blog 这种轮子要是挂在大众博客程序上就太没意思了。一是觉得大部分 Blog 服务都太丑,二是觉得不能随便定制不好玩。之前因为太懒没有折腾,结果就一直连个写 Blog 的地儿都没有。
@@ -47,7 +47,7 @@ Hux 的 Blog 就这么开通了。
4747
* Jekyll 的自定制非常容易,基本就是个模版引擎
4848

4949

50-
本来觉得最大的缺点可能是 GitHub 在国内访问起来太慢,所以第二天一起床就到 GitCafe(Chinese GitHub Copy,现在被 Coding 收购了) 迁移了一个[镜像](http://huxpro.coding.me)出来,结果还是巨慢。
50+
本来觉得最大的缺点可能是 GitHub 在国内访问起来太慢,所以第二天一起床就到 GitCafe(Chinese GitHub Copy,现在被 Coding 收购了) 迁移了一个[镜像](http://ZKGpro.coding.me)出来,结果还是巨慢。
5151

5252
哥哥可是个前端好嘛! 果断开 Chrome DevTool 查了下网络请求,原来是 **pending 在了 Google Fonts** 上,页面渲染一直被阻塞到请求超时为止,难怪这么慢。
5353
忍痛割爱,只好把 Web Fonts 去了(反正超时看到的也只能是 fallback ),果然一下就正常了,而且 GitHub 和 GitCafe 对比并没有感受到明显的速度差异,虽然 github 的 ping 值明显要高一些,达到了 300ms,于是用 DNSPOD 优化了一下速度。
@@ -77,6 +77,6 @@ Theme 的 CSS 是基于 Bootstrap 定制的,看得不爽的地方直接在 Les
7777

7878
如果你恰好逛到了这里,希望你也能喜欢这个博客主题。
7979

80-
—— Hux 后记于 2015.10
80+
—— ZKG 后记于 2015.10
8181

8282

_posts/2014-08-16-miui6.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
layout: post
33
title: "「知乎」如何评价 MIUI 6?"
44
date: 2014-08-16 12:00:00
5-
author: "Hux"
5+
author: "ZKG"
66
header-img: "img/post-bg-miui6.jpg"
77
tags:
88
- 知乎

_posts/2014-09-04-is-pure-android-better.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ layout: post
33
title: "「知乎」对中国用户而言,Pure Android 是否比 MIUI 或 Flyme 体验更好?"
44
subtitle: ""
55
date: 2014-09-04 12:00:00
6-
author: "Hux"
6+
author: "ZKG"
77
header-img: "img/post-bg-android.jpg"
88
tags:
99
- 知乎

_posts/2016-11-20-sw-101-gdgdf.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ subtitle: "Slides: Service Worker 101, Working Offline and Instant Loading (GD
55
iframe: "//huangxuan.me/sw-101-gdgdf/"
66
navcolor: "invert"
77
date: 2016-11-20
8-
author: "Hux"
8+
author: "ZKG"
99
tags:
1010
- 前端开发
1111
- JavaScript
@@ -28,7 +28,7 @@ TLDR; It covers lots of cool stuff about Service Worker!
2828

2929

3030

31-
### [Demo Code → ](https://github.com/Huxpro/sw-101-gdgdf)
31+
### [Demo Code → ](https://github.com/ZKGpro/sw-101-gdgdf)
3232

3333
- Hello World of Service Worker
3434
- Make your own Offline Dinosaurs

about.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: "About"
4-
description: "Hey, this is Hux."
4+
description: "Hey, this is ZKG."
55
header-img: "img/about-bg.jpg"
66
---
77

@@ -21,7 +21,7 @@
2121
<p>Hey,我是<strong>张宽广</strong>,程序员 &amp; 设计师,<a href="https://medium.com/ben-and-dion/team-web-3315aa447fb2#.359a9c6cl">Team Web</a>,前淘宝网 · <a href="http://alitrip.com">阿里旅行</a>前端团队资深实习生 · 花名鬼栈,前微影时代 · <a href="http://www.wepiao.com/?r=movie">微票儿</a>前端基础工程团队负责人。</p>
2222

2323

24-
<p>一些作品和开源项目,👉 戳 <a href="https://zhuanlan.zhihu.com/p/21280918">演说.io</a><a href="/portfolio">Portfolio</a><a href="http://github.com/huxpro">Github</a>;除了在博客与 <a href="http://zhuanlan.zhihu.com/huxblog">知乎专栏 · 一生想做浪漫极客</a> 写点东西外,我也是 <a href="http://www.gfansub.com/">GDG 字幕组</a><a href="http://zhuanlan.zhihu.com/FrontendMagazine">前端外刊评论 · 知乎专栏</a> 的翻译维护成员。</p>
24+
<p>一些作品和开源项目,👉 戳 <a href="https://zhuanlan.zhihu.com/p/21280918">演说.io</a><a href="/portfolio">Portfolio</a><a href="http://github.com/ZKGpro">Github</a>;除了在博客与 <a href="http://zhuanlan.zhihu.com/ZKGblog">知乎专栏 · 一生想做浪漫极客</a> 写点东西外,我也是 <a href="http://www.gfansub.com/">GDG 字幕组</a><a href="http://zhuanlan.zhihu.com/FrontendMagazine">前端外刊评论 · 知乎专栏</a> 的翻译维护成员。</p>
2525

2626
<p>音乐重度依赖患者,设计师强迫症患者,书买得比看得多患者,毒舌患者,科技产品发布会观看癖患者,间歇性感伤患者,习惯性熬夜患者。</p>
2727
<h5>Talks</h5>
@@ -40,11 +40,11 @@ <h5>Talks</h5>
4040
<blockquote><p>Yet another Web Developer. <br>
4141
Yet another Life-long Designer.</p></blockquote>
4242

43-
<p>Hi, I am <strong>Zhang Kuanguang(张宽广)</strong>,you can call me <strong>zhang</strong>. I'm an engineer &amp; a designer who loves to build software such as <a href="http://yanshuo.io">Yanshuo.io</a> and more (<a href="/portfolio">Portfolio 👉</a> and <a href="http://github.com/huxpro">Github 👉</a>). I studied Digital Media Art and graduated from <a href="https://en.wikipedia.org/wiki/Communication_University_of_China">Communication University of China</a> in 2016.</p>
43+
<p>Hi, I am <strong>Zhang Kuanguang(张宽广)</strong>,you can call me <strong>zhang</strong>. I'm an engineer &amp; a designer who loves to build software such as <a href="http://yanshuo.io">Yanshuo.io</a> and more (<a href="/portfolio">Portfolio 👉</a> and <a href="http://github.com/ZKGpro">Github 👉</a>). I studied Digital Media Art and graduated from <a href="https://en.wikipedia.org/wiki/Communication_University_of_China">Communication University of China</a> in 2016.</p>
4444

4545
<p>As an engineer, I worked at Wepiao (<a href="https://www.crunchbase.com/organization/wepiao#/entity">see CrunchBase</a>) as the dev lead of Front-End Infrastructure Team, and used to intern at <a href="https://www.alitrip.com/">Alibaba Trip</a> for one year. As a designer, I was offered to be the UI/UX Designer Intern of Alibaba, Microsoft etc.</p>
4646

47-
<p>Moreover, I'm also a translator at <a href="http://www.gfansub.com/">GDG China Subtitle Team</a>, maintainer at <a href="http://zhuanlan.zhihu.com/FrontendMagazine">Frontend Magazine</a> and the owner of <a href="http://zhuanlan.zhihu.com/huxblog">Lifelong Romantic Geek</a>.</p>
47+
<p>Moreover, I'm also a translator at <a href="http://www.gfansub.com/">GDG China Subtitle Team</a>, maintainer at <a href="http://zhuanlan.zhihu.com/FrontendMagazine">Frontend Magazine</a> and the owner of <a href="http://zhuanlan.zhihu.com/ZKGblog">Lifelong Romantic Geek</a>.</p>
4848

4949
<h5>Talks</h5>
5050

@@ -104,7 +104,7 @@ <h5>Talks</h5>
104104
<div class="comment">
105105
<!-- This id is used for indexing my loss comments forcedly -->
106106
<div class="ds-thread"
107-
{% if site.duoshuo_username == "huxblog" %}
107+
{% if site.duoshuo_username == "ZKGblog" %}
108108
data-thread-id="1187623191091085319"
109109
{% else %}
110110
<!-- U can just use this key generated to index comments at page about -->
@@ -118,7 +118,7 @@ <h5>Talks</h5>
118118

119119
<!-- 多说公共JS代码 start (一个网页只需插入一次) -->
120120
<script type="text/javascript">
121-
// dynamic User hacking by Hux
121+
// dynamic User hacking by ZKG
122122
var _user = '{{site.duoshuo_username}}';
123123

124124
// duoshuo comment query.

0 commit comments

Comments
 (0)