Skip to content

Commit fae11e1

Browse files
committed
space
1 parent e35a9cc commit fae11e1

File tree

122 files changed

+5979
-1167
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

122 files changed

+5979
-1167
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
_site
22
.sass-cache
3-
.idea
3+
node_modules
4+
_drafts

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2016 Victor Igor <victor.0w3@gmail.com>
4+
http://victorvoid.github.io
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.

LICENSE.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

README.md

Lines changed: 65 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,75 @@
1-
基于jekyll博客应用主题
2-
===
1+
# Space Jekyll
32

4-
pithy是一款适用于jekyll的博客应用主题,基于bootstrap前端框架开发。本着简约的视觉效果设计,目的是希望博客的浏览者能够更多的看到博客内容。
3+
A simple and elegant Jekyll theme based on Spacemacs. The theme works well on mobile devices as well.
54

6-
使用说明
7-
===
5+
See a live demo [here](https://victorvoid.github.io/space-jekyll-template/).
86

9-
本主题是自由,免费,开源的,你可以克隆为新的仓库作为自己的博客。当然,在克隆仓库时为本主题加颗星,在使用时注明power by pithy,那将是对我最大的支持和鼓励。
7+
![](https://github.com/victorvoid/space-jekyll-template/blob/master/screenshot.png?raw=true)
108

11-
主题效果
12-
===
13-
- 首页
14-
-
15-
![首页](http://7xlgu7.com1.z0.glb.clouddn.com/pithy-index.jpg)
9+
# Site/User Settings
1610

17-
- 列表
18-
-
19-
![列表](http://7xlgu7.com1.z0.glb.clouddn.com/pithy-list.jpg)
11+
customize your site in ``_config.yml``
2012

21-
- 文章
22-
-
23-
![文章](http://7xlgu7.com1.z0.glb.clouddn.com/pithy-post.jpg)
13+
```ruby
2414

25-
反馈
26-
===
15+
# Site settings
16+
description: A blog about lorem ipsum
17+
baseurl: "" # the subpath
18+
url: "" # the base hostname &/|| protocol for your site
2719

28-
在你浏览或使用本主题时,发现问题或者是有好的建议,希望能够在这里给予反馈。
20+
# User settings
21+
username: Lorem Ipsum
22+
user_description: Lorem Developer
23+
user_title: Lorem Ipsum
24+
email: lorem@ipsum.com
25+
twitter_username: loremipsum
26+
github_username: loremipsum
27+
gplus_username: loremipsum
28+
disqus_username: loremipsum
2929

30-
[New Issue](https://github.com/guovz/pithy/issues/new)
30+
```
3131

32-
License
33-
===
34-
[MIT License](https://github.com/guovz/pithy/blob/gh-pages/LICENSE.md)
32+
See more about project and links in [_config.yml](./_config.yml)
33+
34+
## How to create a post ?
35+
36+
_posts create a file .md with structure:
37+
38+
```md
39+
---
40+
layout: post
41+
title: "Lorem ipsum speak.."
42+
date: 2016-09-13 01:00:00
43+
image: '/assets/img/post-image.png'
44+
description: 'about tech'
45+
tags:
46+
- lorem
47+
- tech
48+
categories:
49+
- Lorem ipsum
50+
twitter_text: 'How to speak with Lorem'
51+
---
52+
```
53+
54+
## License
55+
The MIT License (MIT)
56+
57+
Copyright (c) 2016 Victor Igor
58+
59+
Permission is hereby granted, free of charge, to any person obtaining a copy
60+
of this software and associated documentation files (the "Software"), to deal
61+
in the Software without restriction, including without limitation the rights
62+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
63+
copies of the Software, and to permit persons to whom the Software is
64+
furnished to do so, subject to the following conditions:
65+
66+
The above copyright notice and this permission notice shall be included in all
67+
copies or substantial portions of the Software.
68+
69+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
70+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
71+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
72+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
73+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
74+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
75+
SOFTWARE.

_config.yml

Lines changed: 51 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,51 @@
1-
#version
2-
version: "1.0"
3-
4-
permalink: /:year/:month/:day/:title/
5-
6-
# 站点设置
7-
title: "Guovz"
8-
email: pzhuwjl@qq.com
9-
description: "王继林的个人博客"
10-
keywords: "Guovz"
11-
12-
# 用户信息设置
13-
weibo_username: Guovz
14-
github_username: guovz
15-
16-
# Markdown设置
17-
kramdown:
18-
input: GFM
19-
use_coderay: true
20-
coderay:
21-
coderay_line_numbers: nil
22-
23-
24-
25-
# 地址设置
26-
baseurl: "/jekyll-pithy"
27-
url: "http://127.0.0.1:4000"
28-
29-
30-
# 分页设置
31-
paginate: 10
32-
paginate_path: "page/:num"
33-
34-
#scss设置
35-
sass:
36-
sass_dir: /assets/stylesheet
37-
style: :compressed
38-
39-
# duoshuo设置
40-
# duoshuo_shortname:
41-
42-
# 百度统计设置
43-
# baidu_analysis:
1+
# Site settings
2+
title: Lorem Ipsum - Web Developer
3+
description: "A blog about lorem ipsum ..."
4+
baseurl: "/space-jekyll-template" # for test: remove string '/space-jekyll-template' to ''
5+
url: "http://victorvoid.github.io/space-jekyll-template/" # for test: remove string 'http://victorvoid.github.io' to '' but in production: 'https://yourusername.githu.io'
6+
# User settings
7+
username: lorem ipsum
8+
user_title: Lorem Ipsum - FrontEnd
9+
email: lorem.lorem@ipsum.com
10+
twitter_username: loremipsum
11+
github_username: loremipsum
12+
gplus_username: loremipsum
13+
linkedin_public_url: loremipsum # Example: For public profile 'www.linkedin.com/in/john-smith', 'john-smith' is your linkedin_public_url
14+
disqus_username: loremipsum
15+
profile_picture: https://68.media.tumblr.com/93f384858e9273d5b980b418e2f2f4d5/tumblr_o5i2aybLJG1uapsfmo2_250.png
16+
17+
# Build settings
18+
markdown: kramdown
19+
highlighter: rouge
20+
permalink: /:title/
21+
22+
23+
# html minify
24+
compress_html:
25+
clippings: all
26+
comments: all
27+
endings: []
28+
profile: false
29+
30+
# Links to include in menu navigation
31+
links:
32+
- title: home
33+
url: /
34+
- title: my posts
35+
url: /posts
36+
- title: series
37+
url: /series
38+
- title: tags
39+
url: /tags
40+
- title: about me
41+
url: /about
42+
# projects in header index
43+
projects:
44+
- name: asciilang
45+
url: https://github.com/victorvoid/asciilang
46+
- name: vim-frontend
47+
url: https://github.com/victorvoid/vim-frontend
48+
- name: generator-capybara
49+
url: https://github.com/victorvoid/generator-capybara
50+
# exclude my node related stuff
51+
exclude: ['package.json', 'src', 'node_modules']

_drafts/node-project-dev01.md

Lines changed: 0 additions & 20 deletions
This file was deleted.

_includes/author.html

Lines changed: 0 additions & 16 deletions
This file was deleted.

_includes/baidu-analysis.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

_includes/categories.html

Lines changed: 0 additions & 23 deletions
This file was deleted.

_includes/comment.html

Lines changed: 0 additions & 21 deletions
This file was deleted.

_includes/comments.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<section class="comments">
2+
3+
<h3>Comments</h3>
4+
<div id="disqus_thread"></div>
5+
6+
</section>
7+
8+
<script type="text/javascript">
9+
10+
var disqus_loaded = false;
11+
12+
function load_disqus(){
13+
disqus_loaded = true;
14+
var disqus_shortname = '{{site.disqus_username}}';
15+
var disqus_title = '{{page.title.replace("'", "\\'")}}';
16+
var disqus_url = '{{page.url}}';
17+
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
18+
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
19+
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
20+
var ldr = document.getElementById('disqus_loader');
21+
};
22+
23+
window.onscroll = function(e) {
24+
if ((window.innerHeight + window.scrollY) >= (document.body.offsetHeight - 800)) {
25+
//hit bottom of page
26+
if (disqus_loaded==false)
27+
load_disqus()
28+
}
29+
};
30+
</script>

_includes/footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<footer>
2-
<div id="totop" class="totop">
3-
<i class="fa fa-chevron-up"></i>
4-
</div>
2+
3+
<p>Made with <span id="heart">💚</span></p>
4+
55
</footer>

0 commit comments

Comments
 (0)