summaryrefslogtreecommitdiff
path: root/themes/theme/_config.yml
blob: f642fd1ae3024298641dc4510d7f438445e5864f (plain)
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

# html lang
language: en

# header
site_brand_name: 暮秋小屋

logo_image:
  enable: false
  image_path: /logo.ico # path to your logo image

menu:
  主页: /
  日记本: /categories/gallery/
  泛医学: /tags/Medicine/
  计算机: /tags/Technique/
  生活: /tags/Life/
  全部: /archives
  关于: /about

# stylesheets loaded in the <head>
stylesheets:
- /css/style.css

# scripts loaded in the end of the body
scripts:
- /js/menu.js

# favicon
favicon: /favicon.ico

date_format: MMM D, YYYY

# profile
profile:
  title: 暮秋小屋
  body: "思念、灵感、文档的寄存处"
  image: /profile_cover.jpg

  links:
    计算机: /tags/Technique/
    泛医学: /tags/Medicine/
    生活: /tags/Life/
    日记本: /categories/gallery/
    网页存档: /tags/Archive
    全部: /archives
    关于: /about

# footer
footer:
  copyright_info:
    enable: true
    author: 韩暮秋

  powered_by:
    enable: true

  other_info:
    enable: false
    content:

# color mode: default / classic / dark
color_mode: default

# mathjax setting
# note: need to install the hexo plugin for math: https://github.com/hexojs/hexo-math
mathjax_enable: true

# comments: support disqus and valine
valine: # valine setup guide: https://valine.js.org/quickstart.html
  enable: false
  appId: # Your valine app Id
  appKey: # Your valine app Key
  lang: 'en'
  placeholder: 'Say something'
  avatar: 'mp'
  meta: ['nick', 'mail']

disqus: # disqus setup guide: https://help.disqus.com/en/articles/1717056-publisher-quick-start-guide
  enable: false
  disqus_url: # your diqsuq url or shortname
  language: 'en'

# local search
local_search:
  enable: true
  place_holder: Search Anything
  trigger: auto # auto: trigger search whenever input changes
  top_n_per_article: 1 # show top n results per article, show all results by setting to -1
  unescape: false # unescape html strings to the readable one
  preload: false # reload the search data when the page loads, this will accelerate the search process