-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
58 lines (45 loc) · 1.31 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
encoding: utf-8
title: 王鲜申's blog
email: [email protected]
description: "feedId:72112376501049344+userId:67379256151261184"
baseurl: ""
url: https://thewangcj.github.io
twitter_username: thewangcj
github_username: thewangcj
highlighter: rouge
paginate: 6
# jekyll-admin 设置
jekyll_admin:
show_drafts: true
hidden_links:
- pages
homepage: "posts"
feed:
posts_limit: 5
# Markdown settings
# replace redcarpet to kramdown,
# although redcarpet can auto highlight code, the lack of header-id make the catalog impossible, so I switch to kramdown
# document: http://jekyllrb.com/docs/configuration/#kramdown
markdown: kramdown
kramdown:
input: GFM # use Github Flavored Markdown !important
syntax_highlighter: rouge
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
# Use existing pygments syntax highlighting css
css_class: "highlight"
tab_width: 2
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
# Gems
# from PR#40, to support local preview for Jekyll 3.0
# gems: [jekyll-paginate]
plugins:
- jekyll-paginate
- jekyll-feed
- jekyll-sitemap
- jekyll-seo-tag
- jekyll-admin
excerpt_separator: <!--more-->