forked from Huxpro/huxpro.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
129 lines (94 loc) · 3.16 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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# Site settings
title: Mike Lyou Blog
SEOTitle: Mike Lyou Blog | 采叶小火的博客
header-img: img/home-bg-milky-way.jpg
email: [email protected]
description: "这里是 @mikelyou 的个人博客"
keyword: ""
url: "https://blog.mikelyou.com" # your host, for absolute URL
baseurl: "" # for example, '/blog' if your blog hosted on 'host/blog'
# Publish posts or collection documents with a future date.
future: true
# SNS settings
RSS: true
#weibo_username:
#zhihu_username: mo-xian-mo-xian-mo-xian
github_username: mikelyou
#twitter_username:
#facebook_username: huxpro
linkedin_username: chang-liu-8120
#jianshu_username: 27a496cd42ec
email_address: [email protected]
# Build settings
# from 2016, 'pygments' is unsupported on GitHub Pages. Use 'rouge' for highlighting instead.
highlighter: rouge
permalink: pretty
paginate: 10
exclude: ["less","node_modules","Gruntfile.js","package.json","README.md","README.zh.md"]
anchorjs: true # if you want to customize anchor. check out line:181 of `post.html`
# If you have timezone issue (e.g. #68) in China, uncomment to use this:
#timezone: CN
# Gems
# from PR#40, to support local preview for Jekyll 3.0
# make sure you have this gem installed
# `$ gem install jekyll-paginate`
plugins: [jekyll-paginate]
# 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_opts:
span:
line_numbers: false
block:
line_numbers: true
start_line: 1
# Disqus settings
disqus_username: #mikelyou
# Netease settings
netease_comment: false
# Valine settings (mikelyou)
valine_appId: #4WeosIm2W2Y3oe6W4mxdHpQy-MdYXbMMI
valine_appKey: #lLruq0KJwl4pRcRYvyjsCLPA
# Analytics settings
# Baidu Analytics
# ba_track_id: [your track id]
# Google Analytics
#ga_track_id: 'UA-155105379-1' # Format: UA-xxxxxx-xx
#ga_domain: mikelyou.com
# Sidebar settings
sidebar: true # whether or not using Sidebar.
sidebar-about-description: "为者常成,行者常至"
sidebar-avatar: /img/avatar-mikelyou.jpg # use absolute URL, seeing it's used in both `/` and `/about/`
# Featured Tags
featured-tags: true # whether or not using Feature-Tags
featured-condition-size: 2 # A tag will be featured if the size of it is more than this condition value
# Progressive Web Apps
chrome-tab-theme-color: "#000000"
service-worker: true
# MathJax rendering for layout:page (e.g. post preview)
page-mathjax: true
# Friends
# friends: [
# {
# title: "Hux Blog",#
# href: "http://huangxuan.me"
# } # ,{
# title: "Foo",
# href: "#"
# },{
# title: "Bar",
# href: "#"
# },{
# title: "Example Friends",
# href: "#"
# },{
# title: "It helps SEO",
# href: "#"
# }
# ]
# Mike Lyou's configuration
excerpt_separator: '<!-- more -->'