-
Notifications
You must be signed in to change notification settings - Fork 0
/
_config.yml
109 lines (89 loc) · 3.12 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
# Site settings 配置站点
title: 'sinlov 的分类博客模板'
description: 'sinlov , life is short, just happy'
keyword: 'sinlov, coding'
url: '' # your host
# when build blog on server, if you don't need baseurl, you should leave this value blank.
# 在服务器上建站时,如果你不需要子域名,请将这一格留空
# if you're using GitHub Pages, set baseurl to your blog's .
# 如果你在使用 GitHub Pages, 请将 baseurl 设置为你的网址的子域名
# for example, if your site is "tailwoodencat.github.io", then this url should leave blank.
# 例如,当你的域名是 "tailwoodencat.github.io" 时,这个 url 需要留空
# but if your created a repo named "myblog", and the site is "tailwoodencat.github.io/myblog", change baseurl to '/myblog'
# 但是,如果你创建了一个叫 "myblog" 的网站,此时网址会变成 "tailwoodencat.github.io/myblog" ,这时再将 baseurl 设置为 '/myblog'
baseurl: '/jekyll-theme-H2O'
# Navigation links
nav:
home: '/'
golang: '/category/golang/'
tags: '/tags.html'
# Footer
footer:
since: 2017
# Author 配置博主信息
author: 'sinlov'
nickname: 'sinlov'
bio: 'coding, cat'
avatar: '/assets/img/profile.png'
# Search
search: true
# Night mode
nightMode: true
# Comments 评论功能
comments:
disqus: false
disqus_url: 'https://sinlovppt.disqus.com/embed.js'
# MathJax 公式支持 by Ray-Eldath
mathjax: true
# Share
social-share: true
social-share-items: ['wechat', 'douban']
# social-share-items: ['wechat', 'weibo', 'douban', 'twitter']
# theme color 主题皮肤
theme-color: 'default' # pink or default
# Post header background patterns (when the post no cover): circuitBoard, overlappingCircles, food, glamorous, ticTacToe, seaOfClouds
postPatterns: 'ticTacToe'
# SNS settings 配置社交网站
# url: email, weibo, zhihu, twitter, instagram, juejin, github, douban, facebook, dribble, uicn, jianshu, medium, linkedin
sns:
github: '//github.com/sinlov'
zhihu: '//www.zhihu.com/people/lov-sin'
douban: '//www.douban.com/people/sinlov'
jianshu: '//www.jianshu.com/u/e6e4f22e14d2'
# Tags 设置标签
recommend-tags: true # whether or not display recommend-tags on the sidebar
recommend-condition-size: 12 # a tag will be recommended if the size of it is more than this value
# Build settings
paginate: 7
paginate_path: 'page:num'
exclude: ['node_modules', 'dev', 'package.json', 'gulpfile.js', '.gitignore', 'README.md', 'Makefile', 'Rakefile']
# Markdown
markdown: kramdown
highlighter: rouge
kramdown:
input: GFM
# RSS
RSS: false
# Permalink
# See: https://github.com/kaeyleo/jekyll-theme-H2O/issues/35
# permalink: /:year/:month/:day/:title.html
# https://github.com/field-theory/jekyll-category-pages#installation-and-setup
permalink: /:year/:month/:day/:title:output_ext
# close
safe: true
# Plugins
plugins:
- jekyll-feed
- jekyll-sitemap
- jekyll-paginate
- jekyll-category-pages
# jekyll-sitemap https://github.com/jekyll/jekyll-sitemap
defaults:
-
scope:
path: "assets/**/*.pdf"
values:
sitemap: false
# jekyll-feed https://github.com/jekyll/jekyll-feed#already-have-a-feed-path
feed:
path: atom.xml