forked from barryclark/jekyll-now
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_config.yml
112 lines (92 loc) · 2.45 KB
/
_config.yml
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
#
# This file contains configuration flags to customize your site
#
# Name of your site (displayed in the header)
name: Web Ahead
author: Gimm
email: [email protected]
# Short bio or description (displayed in the header)
description: zero to hero with web development
# URL of your avatar or profile pic (you could use your GitHub profile pic)
avatar: https://avatars2.githubusercontent.com/u/1287933?v=1&s=140
#
# Flags below are optional
#
# Includes an icon in the footer for each username you enter
social-links:
github: gimm
weibo: incredible
mail: [email protected]
rss: true
# Your disqus shortname, entering this will enable commenting on posts
#disqus: gimm-github-io
# Enter your Google Analytics web tracking code (e.g. UA-2110908-2) to activate tracking
google_analytics:
# Your website URL (e.g. http://barryclark.github.io or http://www.barryclark.co)
# Used for Sitemap.xml and your RSS feed
url: http://webahead.cn
cnd: http://webahead.oss-cn-qingdao.aliyuncs.com
# If you're hosting your site at a Project repository on GitHub pages
# (http://yourusername.github.io/repository-name)
# and NOT your User repository (http://yourusername.github.io)
# then add in the baseurl here, like this: "/repository-name"
baseurl: ""
#
# !! You don't need to change any of the configuration flags below !!
#
markdown: redcarpet #kramdown
highlighter: pygments
permalink: /article/:title
redcarpet:
extensions:
- with_toc_data
- hard_wrap
- no_intra_emphasis
- autolink
- strikethrough
- fenced_code_blocks
# excerpt_separator: <!--more-->
# The release of Jekyll Now that you're using
version: v1.1.0
# Set the Sass partials directory, as we're using @imports
sass:
sass_dir: _scss
style: :compressed # You might prefer to minify using :compressed or :expanded
# Use the following plug-ins
gems:
- jemoji # Emoji please!
- jekyll-sitemap # Create a sitemap using the official Jekyll sitemap gem
# Exclude these files from your production _site
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
collections:
videos:
permalink: /video/:name/
output: true
# Default settings
defaults:
-
scope:
path: ""
type: "posts"
values:
layout: "post"
author: "Gimm Yu"
-
scope:
path: ""
type: "pages"
values:
layout: "page"
-
scope:
path: ""
type: "videos"
values:
layout: "video"
# Paginate
paginate: 5
paginate_path: "articles/:num"