jekyll-theme-gaeblogx 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f42df65edda505f0868dc7f3d32e4bcb879da4b3
4
- data.tar.gz: 2654d646f1789ebb8ad5e8bce2e5fee9049a4c2e
3
+ metadata.gz: bb912bb34d683299378f4a23d7aec64ec2acc6b3
4
+ data.tar.gz: 2117e6b3e1e38810a4f392894266e66a1108c7bd
5
5
  SHA512:
6
- metadata.gz: cc107565f1a6c8bcf87f50cf04e16c17bbc90ce9b8b440e79ce5fea2fba1de224444ace1b999ea66027a5efd1afc4fe61984424c75c9554e71bfbcc8ec6e4fbe
7
- data.tar.gz: 54a6a1ae62a0059f7352c3d4a3f2676bab000e9730fadb3900eb17797c0e5a17acdf222497a05f40fd8d8b60c137ae87a300ab2304382dacd100233f1484f53a
6
+ metadata.gz: 5dca01bfcb40f852c74c08f76db2553191c532c73f5ff021ff255f277a40ccde76a0eec04aeaf95692a5abd3b08a4200ca3e16294ba50e23731fe105d072829a
7
+ data.tar.gz: 2de7182ce753ce0673047c870119e831c616a7d3b9158b9a1b4b8e8c0bf785c129c8c2d1c0cfd15353f1d9b6d07ef2dd42c08bbcd39a8125588f7f6d604de093
data/README.md CHANGED
@@ -16,8 +16,7 @@ My personal blog Github Page: https://github.com/SeraphRoy/SeraphRoy.github.io
16
16
 
17
17
  If you're running Jekyll v3.5+ and self-hosting you can quickly install the
18
18
  theme as a Ruby gem. If you're hosting with GitHub Pages you can install as a
19
- remote theme or directly copy all of the theme files (see [structure](#structure)
20
- below) into your project.
19
+ remote theme or directly copy all of the files into your project.
21
20
 
22
21
  First have a `index.html` in your root folder, containing:
23
22
 
@@ -66,9 +65,12 @@ for any GitHub-hosted theme.
66
65
  `_config.yml` file. Remove any other `theme:` or `remote_theme:` entries.
67
66
 
68
67
  # Notes
68
+
69
69
  Please specify Agolia specific configs in `_config.yml`, and other settings as well.
70
70
 
71
- Specify `blogname`, `blogabout`, `aboutme`, and `contactme` and `_config.yml`
71
+ Specify `blogname`, `blogabout`, in `_config.yml`
72
+
73
+ You can create your own `about` page using `about` layout
72
74
 
73
75
  For reference, please take a look at my personal settings: https://github.com/SeraphRoy/SeraphRoy.github.io
74
76
 
@@ -0,0 +1,9 @@
1
+ ---
2
+ layout: page
3
+ ---
4
+
5
+ {{content}}
6
+
7
+ <h2 id="comments">Comments</h2>
8
+
9
+ {% include comments.html %}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-gaeblogx
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Baby Pepper
@@ -113,6 +113,7 @@ files:
113
113
  - _includes/previousAndNext.html
114
114
  - _includes/sidebar-search.html
115
115
  - _includes/tag.html
116
+ - _layouts/about.html
116
117
  - _layouts/default.html
117
118
  - _layouts/demo.html
118
119
  - _layouts/home.html
@@ -138,12 +139,10 @@ files:
138
139
  - assets/js/pageContent.js
139
140
  - assets/js/search.js
140
141
  - assets/js/smooth-scroll.min.js
141
- - assets/js/waterfall.js
142
142
  - assets/page/0archives.html
143
143
  - assets/page/1category.html
144
144
  - assets/page/2tags.html
145
145
  - assets/page/3search.html
146
- - assets/page/4about.md
147
146
  - assets/search-by-algolia.svg
148
147
  - assets/search_data.json
149
148
  - assets/stylesheets/main.scss
@@ -1,214 +0,0 @@
1
- /* jshint asi:true */
2
- //先等图片都加载完成
3
- //再执行布局函数
4
-
5
- /**
6
- * 执行主函数
7
- * @param {[type]} function( [description]
8
- * @return {[type]} [description]
9
- */
10
- (function() {
11
-
12
- /**
13
- * 内容JSON
14
- */
15
- var demoContent = [
16
- {
17
- demo_link: 'https://codepen.io/haoyang/pen/jrvrQq',
18
- img_link: 'https://ooo.0o0.ooo/2016/11/24/5836d81f48cd2.png',
19
- code_link: 'https://codepen.io/haoyang/pen/jrvrQq',
20
- title: 'Fisher-Yates 洗牌算法动画',
21
- core_tech: 'JavaScript',
22
- description: 'Fisher-Yates 洗牌算法动画。算法详情见 <a href ="https://gaohaoyang.github.io/2016/10/16/shuffle-algorithm/">这里</a>。'
23
- }, {
24
- demo_link: 'http://gaohaoyang.github.io/test/headerTransition/',
25
- img_link: 'https://ooo.0o0.ooo/2016/06/20/5768c1597d1fe.png',
26
- code_link: 'https://github.com/Gaohaoyang/test/tree/master/headerTransition',
27
- title: 'Header Transition 渐变动画',
28
- core_tech: 'jQuery BootStrap CSS3',
29
- description: '花费不到半小时帮师兄做了一个简单的 CSS3 动画效果,当页面滚动到指定距离时,header 区的背景色由透明变为蓝色。仿照了网站 <a href ="https://quorrajs.org/">https://quorrajs.org/</a> 的 Header 区动画效果。'
30
- }, {
31
- demo_link: 'http://gaohaoyang.github.io/mask-fade-out/',
32
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/demo-fade-out.png',
33
- code_link: 'https://github.com/Gaohaoyang/mask-fade-out',
34
- title: '遮罩层按指定路径缩小消失',
35
- core_tech: 'jQuery CSS',
36
- description: '使用 animate 方法,做到兼容 IE8。曾在联想服务官网上线3个月。'
37
- }, {
38
- demo_link: 'http://gaohaoyang.github.io/ToDo-WebApp/',
39
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/blog-todoWebApp.png',
40
- code_link: 'https://github.com/Gaohaoyang/ToDo-WebApp',
41
- title: '百度前端学院 task0004 ToDo 应用(移动端)',
42
- core_tech: 'JavaScript LocalStorage requireJS Sass Gulp XSS',
43
- description: '在任务三中,做了一个 PC 端的 ToDo 应用。任务四是将它优化,以适应移动端设备。'
44
- }, {
45
- demo_link: 'http://gaohaoyang.github.io/baidu-ife-practice/task0003/',
46
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/demo-todo.png',
47
- code_link: 'https://github.com/Gaohaoyang/baidu-ife-practice/tree/master/task0003',
48
- title: '百度前端学院 task0003 ToDo 应用',
49
- core_tech: 'JavaScript LocalStorage',
50
- description: '任务三,ToDo 单页应用,主要使用了 LocalStorage 存储数据,使用 JSON 模拟了 3 张数据表。'
51
- }, {
52
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0002/work/Gaohaoyang/task0002_5.html',
53
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/demo-drag.png',
54
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0002/work/Gaohaoyang',
55
- title: '拖拽交互',
56
- core_tech: 'JavaScript',
57
- description: '对鼠标事件应用,以及判断定位的方法等。'
58
- }, {
59
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0002/work/Gaohaoyang/task0002_4.html',
60
- img_link: 'http://ww2.sinaimg.cn/large/7011d6cfjw1f3ba2krzs0j207005y0sv.jpg',
61
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0002/work/Gaohaoyang',
62
- title: '输入框即时提示',
63
- core_tech: 'JavaScript',
64
- description: '对input监听,使用正在表达式高亮匹配,实现输入联想效果。'
65
- }, {
66
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0002/work/Gaohaoyang/task0002_3.html',
67
- img_link: 'http://ww2.sinaimg.cn/large/7011d6cfjw1f3ba04okoqj20eq093wh1.jpg',
68
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0002/work/Gaohaoyang',
69
- title: '轮播图',
70
- core_tech: 'JavaScript',
71
- description: '变速运动,运动终止条件的应用。'
72
- }, {
73
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0002/work/Gaohaoyang/task0002_2.html',
74
- img_link: 'http://ww4.sinaimg.cn/large/7011d6cfjw1f3b9w6xpz5j20ae02pgm3.jpg',
75
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0002/work/Gaohaoyang',
76
- title: '倒计时',
77
- core_tech: 'JavaScript',
78
- description: 'setInterval(),Date 对象的学习和使用。'
79
- }, {
80
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0002/work/Gaohaoyang/task0002_1.html',
81
- img_link: 'http://ww3.sinaimg.cn/large/7011d6cfjw1f3b9tmyuh2j20au0aaaar.jpg',
82
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0002/work/Gaohaoyang',
83
- title: '处理兴趣爱好列表',
84
- core_tech: 'JavaScript',
85
- description: '对JavaScript正则表达式和字符串的练习。'
86
- }, {
87
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0002/work/Gaohaoyang/index.html',
88
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/demo-demo-index.png',
89
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0002/work/Gaohaoyang',
90
- title: '百度前端学院 task0002 展示主页',
91
- core_tech: 'HTML CSS',
92
- description: '任务二的展示主页,里面包含五个小 demo。还有一篇相关的<a href="http://gaohaoyang.github.io/2015/04/22/baidu-ife-2-javascript/" target="_blank">日志。</a>'
93
- }, {
94
- demo_link: 'http://gaohaoyang.github.io/ife/task/task0001/work/Gaohaoyang/index.html',
95
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/Demo-blog-ife.jpg',
96
- code_link: 'https://github.com/Gaohaoyang/ife/tree/master/task/task0001/work/Gaohaoyang',
97
- title: '百度前端学院 task0001 个人博客',
98
- core_tech: 'HTML CSS',
99
- description: '完成百度前端学院的任务。深刻的理解了BFC、浮动、inline-block间距,多列布局等技术。还有一篇相关的<a href="http://gaohaoyang.github.io/2015/04/15/baidu-ife-1/" target="_blank">日志。</a>'
100
- }, {
101
- demo_link: 'http://gaohaoyang.github.io/ghost-button-css3/',
102
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/DemoGhost-Button.png',
103
- code_link: 'https://github.com/Gaohaoyang/ghost-button-css3',
104
- title: 'Ghost Button 幽灵按钮',
105
- core_tech: 'CSS3',
106
- description: '使用 CSS3 中的旋转、缩放、过渡、动画等效果,制作出很酷的按钮效果。'
107
- }, {
108
- demo_link: 'http://gaohaoyang.github.io/shadow-demo-css3',
109
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/Demoshadow.png',
110
- code_link: 'https://github.com/Gaohaoyang/shadow-demo-css3',
111
- title: 'CSS3 阴影特效',
112
- core_tech: 'CSS3',
113
- description: 'CSS3 中的阴影、旋转等效果,制作出曲边阴影和翘边阴影。'
114
- }, {
115
- demo_link: 'http://gaohaoyang.github.io/learning-AngularJS/2-3-bookstore-add-sth-by-myself/',
116
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/DemoAngularJS.png',
117
- code_link: 'https://github.com/Gaohaoyang/learning-AngularJS/tree/master/2-3-bookstore-add-sth-by-myself',
118
- title: 'AngularJS 结合动画效果',
119
- core_tech: 'AngularJS CSS3',
120
- description: '使用 AngularJS 中的 ngAnimate 加 CSS3里面的一些旋转效果,做出页面切换的效果。'
121
- }, {
122
- demo_link: 'http://gaohaoyang.github.io/learning-AngularJS/2-4-UiRouterPractice',
123
- img_link: 'http://ww2.sinaimg.cn/large/7011d6cfjw1f3b8zumfqij20q40nh76x.jpg',
124
- code_link: 'https://github.com/Gaohaoyang/learning-AngularJS/tree/master/2-4-UiRouterPractice',
125
- title: 'AngularJS UI-router 练习',
126
- core_tech: 'AngularJS UI-router',
127
- description: 'UI-router 作为 AngularJS 中路由的扩充,实现了多级路由的效果。使得前端界面跳转更加方便。'
128
- }, {
129
- demo_link: 'http://gaohaoyang.github.io/test/bootstrap-zhihu/',
130
- img_link: 'http://7q5cdt.com1.z0.glb.clouddn.com/teach-girlfriend-html-CopyZhihu.jpg',
131
- code_link: 'https://github.com/Gaohaoyang/test/tree/master/bootstrap-zhihu',
132
- title: '仿知乎页面',
133
- core_tech: 'HTML BootStrap',
134
- description: '使用BootStrap仿照知乎做了一个静态页面。'
135
- }
136
- ];
137
-
138
- contentInit(demoContent) //内容初始化
139
- waitImgsLoad() //等待图片加载,并执行布局初始化
140
- }());
141
-
142
- /**
143
- * 内容初始化
144
- * @return {[type]} [description]
145
- */
146
- function contentInit(content) {
147
- // var htmlArr = [];
148
- // for (var i = 0; i < content.length; i++) {
149
- // htmlArr.push('<div class="grid-item">')
150
- // htmlArr.push('<a class="a-img" href="'+content[i].demo_link+'">')
151
- // htmlArr.push('<img src="'+content[i].img_link+'">')
152
- // htmlArr.push('</a>')
153
- // htmlArr.push('<h3 class="demo-title">')
154
- // htmlArr.push('<a href="'+content[i].demo_link+'">'+content[i].title+'</a>')
155
- // htmlArr.push('</h3>')
156
- // htmlArr.push('<p>主要技术:'+content[i].core_tech+'</p>')
157
- // htmlArr.push('<p>'+content[i].description)
158
- // htmlArr.push('<a href="'+content[i].code_link+'">源代码 <i class="fa fa-code" aria-hidden="true"></i></a>')
159
- // htmlArr.push('</p>')
160
- // htmlArr.push('</div>')
161
- // }
162
- // var htmlStr = htmlArr.join('')
163
- var htmlStr = ''
164
- for (var i = 0; i < content.length; i++) {
165
- htmlStr += '<div class="grid-item">' + ' <a class="a-img" href="' + content[i].demo_link + '">' + ' <img src="' + content[i].img_link + '">' + ' </a>' + ' <h3 class="demo-title">' + ' <a href="' + content[i].demo_link + '">' + content[i].title + '</a>' + ' </h3>' + ' <p>主要技术:' + content[i].core_tech + '</p>' + ' <p>' + content[i].description + ' <a href="' + content[i].code_link + '">源代码 <i class="fa fa-code" aria-hidden="true"></i></a>' + ' </p>' + '</div>'
166
- }
167
- var grid = document.querySelector('.grid')
168
- grid.insertAdjacentHTML('afterbegin', htmlStr)
169
- }
170
-
171
- /**
172
- * 等待图片加载
173
- * @return {[type]} [description]
174
- */
175
- function waitImgsLoad() {
176
- var imgs = document.querySelectorAll('.grid img')
177
- var totalImgs = imgs.length
178
- var count = 0
179
- //console.log(imgs)
180
- for (var i = 0; i < totalImgs; i++) {
181
- if (imgs[i].complete) {
182
- //console.log('complete');
183
- count++
184
- } else {
185
- imgs[i].onload = function() {
186
- // alert('onload')
187
- count++
188
- //console.log('onload' + count)
189
- if (count == totalImgs) {
190
- //console.log('onload---bbbbbbbb')
191
- initGrid()
192
- }
193
- }
194
- }
195
- }
196
- if (count == totalImgs) {
197
- //console.log('---bbbbbbbb')
198
- initGrid()
199
- }
200
- }
201
-
202
- /**
203
- * 初始化栅格布局
204
- * @return {[type]} [description]
205
- */
206
- function initGrid() {
207
- var msnry = new Masonry('.grid', {
208
- // options
209
- itemSelector: '.grid-item',
210
- columnWidth: 250,
211
- isFitWidth: true,
212
- gutter: 20
213
- })
214
- }
@@ -1,25 +0,0 @@
1
- ---
2
- layout: page
3
- title: About
4
- permalink: /about/
5
- icon: heart
6
- type: page
7
- ---
8
-
9
- * content
10
- {:toc}
11
-
12
-
13
- ## About Me
14
-
15
- {{ site.aboutme }}
16
-
17
- ## Contact Me
18
-
19
- <iframe src="https://githubbadge.appspot.com/{{ site.github_username }}" style="border: 0;height: 142px;width: 200px;overflow: hidden;" frameBorder="0"></iframe>
20
-
21
- {{ site.contactme }}
22
-
23
- ## Comments
24
-
25
- {% include comments.html %}