-
Notifications
You must be signed in to change notification settings - Fork 111
/
_config.yml
54 lines (49 loc) · 1.63 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
title: 简历模板
#baseurl: "" # default set by github
querytime: true #在头像,js和css等后加上时间戳防止缓存,false关闭
manifest: '' # html5离线缓存配置文件名,默认关闭
#打印样式设置
subject-width: 20% #左边栏宽度
print:
# 打印样式模板,
# 空不设置打印样式,模板变量无效
# basic:网页基本一致,
# flex: 侧栏密集排版,
# block:无侧栏
template: 'basic'
#字体大小
fontsize: 12px
#页面边距设置,3~5mm为佳[不建议修改]
page-margin: '6mm 5mm 3mm' #上,右(无同上),下(无同上),左(无同右)
#也顶部(姓名栏目)边距偏移
header-padding: '8mm 0 3mm'
#每块设置(对应main里面每一条)
section:
margin: '3px auto 0' #边距
padding: '3px 0' #内部偏移
width: '80%' #内容宽度 basic无效
# content每一条边距设置
block-margin: 4px 0
#打印版页脚设置
footer:
top: 5px #上边距
height: 50px #高度
exclude:
- LICENSE
- README.md
- .gitignore
#额外js脚本
# scripts:
# - src: "assets/js/ie.js"
# defer: defer
timezone: '+0800'
# Compress html 压缩HTML
compress_html:
#去除空格
clippings: [html, head, title, base, link, meta, style, script, body, article, section, nav, aside, h1, h2, h3, h4, h5, h6, hgroup, header, footer, address, p, hr, blockquote, ol, ul, li, dl, dt, dd, figure, figcaption, main, div, table, caption, colgroup, col, tbody, thead, tfoot, tr, td, th, a, span, i, svg, summary, details, code,'!--[if lte IE 9]','![endif]--']
#去除注释
# comments: all
#css 合并压缩css
sass:
style: compressed
sass_dir: _sass