_config.yml 4.7 KB
Newer Older
1 2 3
# ==================================================
# Basic config
# ==================================================
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
4

EvanOne(文一)'s avatar
EvanOne(文一) 已提交
5
# Header menu navigation
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
6 7 8
menu:
  home: /
  archives: /archives
9 10 11
  categories: 
  tags: 
  about: 
EvanOne(文一)'s avatar
EvanOne(文一) 已提交
12
  # XXX: /xxx
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
13

14
# Favicon
15
favicon: 
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
16

17
# Avatar in the sidebar
18
avatar: 
19

20
# Social links
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
21
social:
22 23 24 25 26 27 28
  github: 
  segmentfault: 
  twitter: 
  weibo: 
  wechat: 
  qq: 
  telegram: 
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
29

30
# Subscribe of email and rss
31
feed:
32
  mail: 
33
  # rss: 
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
34

35 36 37 38 39 40 41 42
# Stylesheets loaded in the <head>
stylesheets:
  - /css/index.css

# Scripts loaded in the end of the body
scripts:
  - /js/utils.js
  - /js/scroll.js
43
  - /js/header.js
44
  - /js/sidebar.js
45 46
  - /js/post.js

47
# CND for third libs
48
cdn:
49
  # css: 
50 51 52
  js:
    jquery: https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js
    velocity: https://cdn.jsdelivr.net/npm/velocity-animate@latest/velocity.min.js
53 54 55 56 57

# ==================================================
# Advanced config
# ==================================================

58 59 60 61 62 63 64 65 66 67
# --------------------------------------------------
# Background image in the header
# --------------------------------------------------
header_bg_img: 

# --------------------------------------------------
# Background image in the footer
# --------------------------------------------------
footer_bg_img: 

68
# --------------------------------------------------
EvanOne(文一)'s avatar
EvanOne(文一) 已提交
69
# Tag cloud
70 71
# If not used, comment it or ignore it
# --------------------------------------------------
EvanOne(文一)'s avatar
EvanOne(文一) 已提交
72
tag:
73
  # Color for tag(please use quote to wrap value, only support HEX)
74 75
  start_color: '#a4d8fa'
  end_color: '#49b1f5'
EvanOne(文一)'s avatar
EvanOne(文一) 已提交
76 77 78 79
  # Font size for tag
  min_font_size: 16
  max_font_size: 30

80
# --------------------------------------------------
81 82 83 84 85
# Code highlight
# values:
# - light
# - dark
# - ocean
86
# --------------------------------------------------
87
highlight_theme: light
88

89 90 91 92
# --------------------------------------------------
# Reward
# --------------------------------------------------
reward:
93
  enable: false
94
  qr_img_url:
95 96
    alipay: 
    wechat: 
97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117

# --------------------------------------------------
# Icon
# --------------------------------------------------
# Whether to show header menu icon
# values: true or false
header_menu_icon_show: true

# --------------------------------------------------
# Whether to wrap lines when code is overflow
# values: true or false
# --------------------------------------------------
code_word_wrap: true

# --------------------------------------------------
# Horizonal alignment of img
# values:
# - left
# - center
# - right
# 
118 119
# If you don't want to set the align of img
# please empty it, then img will show by default
120 121 122 123 124 125 126 127 128 129 130 131
# --------------------------------------------------
img_horizonal_align: 

# --------------------------------------------------
# Vertical alignment of text and images
# values:
# - top
# - middle
# - bottom
# --------------------------------------------------
text_vertical_align_with_img: bottom

EvanOne(文一)'s avatar
EvanOne(文一) 已提交
132 133 134 135 136 137
# --------------------------------------------------
# Back to top
# values: true or false
# --------------------------------------------------
back_to_top: true

138 139 140 141
# --------------------------------------------------
# Comments
# --------------------------------------------------

142

143 144 145 146
# --------------------------------------------------
# Copyright
# --------------------------------------------------
# Copyright of articles
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
147 148 149 150 151
post_copyright:
  enable: true
  license: CC BY-NC-SA 4.0
  license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/

152
# Copyright at the bottom of the site
153 154 155 156
site_copyright:
  enable: true
  start: 2019
  # If not set, default is the latest year
157
  end: 
158

159
# --------------------------------------------------
160
# Custom text in the footer
161
# --------------------------------------------------
162
footer_custom_text: 
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
163

164 165 166 167
# --------------------------------------------------
# PWA
# See https://github.com/JLHwung/hexo-offline
# --------------------------------------------------
168 169 170
# pwa:
#   enable: true
#   manifest: /manifest.json
171 172

# --------------------------------------------------
173
# Busuanzi count for PV / UV in site
174
# --------------------------------------------------
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189
# busuanzi:
#   # Count values only if the other configs are false
#   enable: true
#   # Custom uv span for the whole site
#   site_uv: true
#   site_uv_header: <i class="fa fa-user"></i>
#   site_uv_footer:
#   # Custom pv span for the whole site
#   site_pv: true
#   site_pv_header: <i class="fa fa-eye"></i>
#   site_pv_footer:
#   # Custom pv span for one page only
#   page_pv: true
#   page_pv_header: <i class="fa fa-file"></i>
#   page_pv_footer:
EvanOne(文一)'s avatar
init  
EvanOne(文一) 已提交
190

191
# --------------------------------------------------
192 193
# Canvas ribbon
# See: https://github.com/hustcc/ribbon.js
194
# --------------------------------------------------
195 196 197 198 199 200
# canvas_ribbon:
#   enable: false
#   size: 150
#   alpha: 0.6
#   zIndex: -1
#   click_to_change: false