Skip to content

Commit 5f1f589

Browse files
committed
2020.04.19
0 parents  commit 5f1f589

Some content is hidden

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

86 files changed

+23412
-0
lines changed

.gitignore

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
2+
# Created by https://www.gitignore.io/api/macos
3+
4+
### macOS ###
5+
*.DS_Store
6+
.AppleDouble
7+
.LSOverride
8+
9+
# Icon must end with two \r
10+
Icon
11+
12+
13+
# Thumbnails
14+
._*
15+
16+
# Files that might appear in the root of a volume
17+
.DocumentRevisions-V100
18+
.fseventsd
19+
.Spotlight-V100
20+
.TemporaryItems
21+
.Trashes
22+
.VolumeIcon.icns
23+
.com.apple.timemachine.donotpresent
24+
25+
# Directories potentially created on remote AFP share
26+
.AppleDB
27+
.AppleDesktop
28+
Network Trash Folder
29+
Temporary Items
30+
.apdisk
31+
32+
# End of https://www.gitignore.io/api/macos
33+
34+
# debug file
35+
_site

.travis.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
language: ruby
2+
env:
3+
global:
4+
- NOKOGIRI_USE_SYSTEM_LIBRARIES=true
5+
install:
6+
- gem install jekyll
7+
- gem install jekyll-paginate
8+
script:
9+
- jekyll build
10+
after_success:
11+
- bash <(curl -s https://codecov.io/bash)
12+
13+

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
layout: default
3+
description: "你来到了没有知识的荒原 🙊"
4+
header-img: "img/404-bg.jpg"
5+
permalink: /404.html
6+
---
7+
8+
9+
<!-- Page Header -->
10+
<header class="intro-header" style="background-image: url('{{ site.baseurl }}/{% if page.header-img %}{{ page.header-img }}{% else %}{{ site.header-img }}{% endif %}')">
11+
<div class="container">
12+
<div class="row">
13+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
14+
<div class="site-heading" id="tag-heading">
15+
<h1>404</h1>
16+
<span class="subheading">{{ page.description }}</span>
17+
</div>
18+
</div>
19+
</div>
20+
</div>
21+
</header>
22+
23+
<script>
24+
document.body.classList.add('page-fullscreen');
25+
</script>

CNAME

Whitespace-only changes.

Gruntfile.js

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
module.exports = function(grunt) {
2+
3+
// Project configuration.
4+
grunt.initConfig({
5+
pkg: grunt.file.readJSON('package.json'),
6+
uglify: {
7+
main: {
8+
src: 'js/<%= pkg.name %>.js',
9+
dest: 'js/<%= pkg.name %>.min.js'
10+
}
11+
},
12+
less: {
13+
expanded: {
14+
options: {
15+
paths: ["css"]
16+
},
17+
files: {
18+
"css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less"
19+
}
20+
},
21+
minified: {
22+
options: {
23+
paths: ["css"],
24+
cleancss: true
25+
},
26+
files: {
27+
"css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less"
28+
}
29+
}
30+
},
31+
banner: '/*!\n' +
32+
' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' +
33+
' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' +
34+
' */\n',
35+
usebanner: {
36+
dist: {
37+
options: {
38+
position: 'top',
39+
banner: '<%= banner %>'
40+
},
41+
files: {
42+
src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js']
43+
}
44+
}
45+
},
46+
watch: {
47+
scripts: {
48+
files: ['js/<%= pkg.name %>.js'],
49+
tasks: ['uglify'],
50+
options: {
51+
spawn: false,
52+
},
53+
},
54+
less: {
55+
files: ['less/*.less'],
56+
tasks: ['less'],
57+
options: {
58+
spawn: false,
59+
}
60+
},
61+
},
62+
});
63+
64+
// Load the plugins.
65+
grunt.loadNpmTasks('grunt-contrib-uglify');
66+
grunt.loadNpmTasks('grunt-contrib-less');
67+
grunt.loadNpmTasks('grunt-banner');
68+
grunt.loadNpmTasks('grunt-contrib-watch');
69+
70+
// Default task(s).
71+
grunt.registerTask('default', ['uglify', 'less', 'usebanner']);
72+
73+
};

LICENSE

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

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Ang's Blog

_config.yml

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Site settings
2+
title: Ang's Blog
3+
SEOTitle: Ang's Blog
4+
header-img: img/post-bg-desk.jpg
5+
6+
description: Less is More.
7+
keyword: "Ang, Ang's Blog"
8+
url: "http://chyauang.github.io" # your host, for absolute URL
9+
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
10+
github_repo: "https://github.com/ChyauAng/chyauang.github.io.git" # you code repository
11+
12+
# Sidebar settings
13+
sidebar: true # whether or not using Sidebar.
14+
sidebar-about-description: "Ang"
15+
sidebar-avatar: /img/aboutMe.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
16+
17+
18+
19+
# SNS settings
20+
RSS: false
21+
# weibo_username:
22+
zhihu_username:
23+
github_username: ChyauAng
24+
facebook_username:
25+
#jianshu_username:
26+
twitter_username: ChyauAng
27+
28+
29+
30+
31+
32+
# Build settings
33+
# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead.
34+
permalink: pretty
35+
paginate: 10
36+
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md"]
37+
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
38+
39+
40+
41+
# Gems
42+
# from PR#40, to support local preview for Jekyll 3.0
43+
gems: [jekyll-paginate]
44+
45+
46+
47+
48+
# Markdown settings
49+
# replace redcarpet to kramdown,
50+
# although redcarpet can auto highlight code, the lack of header-id make the catalog impossible, so I switch to kramdown
51+
# document: http://jekyllrb.com/docs/configuration/#kramdown
52+
markdown: kramdown
53+
highlighter: rouge
54+
kramdown:
55+
input: GFM # use Github Flavored Markdown !important
56+
57+
58+
59+
# 评论系统
60+
# Disqus(https://disqus.com/)
61+
disqus_username: AngChyau
62+
63+
# Gitalk
64+
#gitalk:
65+
# enable: true #是否开启Gitalk评论
66+
# clientID: f2c84e7629bb1446c1a4 #生成的clientID
67+
# clientSecret: ca6d6139d1e1b8c43f8b2e19492ddcac8b322d0d #生成的clientSecret
68+
# repo: qiubaiying.github.io #仓库名称
69+
# owner: qiubaiying #github用户名
70+
# admin: qiubaiying
71+
# distractionFreeMode: true #是否启用类似FB的阴影遮罩
72+
73+
74+
# 统计
75+
76+
# Analytics settings
77+
# Baidu Analytics
78+
# ba_track_id: b50bf2b12b5338a1845e33832976fd68
79+
80+
81+
82+
83+
# Featured Tags
84+
featured-tags: true # 是否使用首页标签
85+
featured-condition-size: 1 # 相同标签数量大于这个数,才会出现在首页
86+
87+
88+
89+
# Progressive Web Apps
90+
chrome-tab-theme-color: "#000000"
91+
service-worker: true

0 commit comments

Comments
 (0)