-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path_config.yml
167 lines (141 loc) · 4.69 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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Hexo Theme Murasaki
# ---------------------------------------------------------------
# Customization
# ---------------------------------------------------------------
# https://irocore.com/sumire-iro/
primary_color: "#7065a3"
primary_color_dark: "#bb86fc"
favicon: /favicon.ico
# ---------------------------------------------------------------
# SEO Settings
# ---------------------------------------------------------------
# Set default keywords (Use a comma to separate).
keywords: "example, blog, hexo"
# Set a canonical link tag in your blog for SEO.
# See: https://support.google.com/webmasters/answer/139066
# Tips: Before you enable this, remember to set up your URL in
# hexo's _config.yml (e.g. `url: http://yourdomain.com`)
canonical: false
# ---------------------------------------------------------------
# Sidebar Settings
# ---------------------------------------------------------------
# Sidebar widgets
sidebar:
recent_posts: true
categories: true
pages: true
links: true
tagcloud: true
# Pages menu widget
menu_pages:
archives:
name: 归档
path: /archives/
about:
name: 关于
path: /about/
# Links menu widget.
# Put your social links or whatever you like here.
menu_links:
github:
name: GitHub
path: https://github.com/example
rss:
name: RSS Feed
path: /atom.xml
# ---------------------------------------------------------------
# Post Settings
# ---------------------------------------------------------------
# TODO: Under development
# Automatically excerpt. Not recommend.
# Please use <!-- more --> in the post to control excerpt accurately.
auto_excerpt:
enable: false
length: 150
# Table of content. Available values:
# - true: Enable TOC for all posts except ones specify `toc: false`.
# - false: Disable TOC.
toc: true
# Image Lazyload
lazyload:
enable: true
loading_image: images/loading.jpg
# ---------------------------------------------------------------
# Third Party Services
# ---------------------------------------------------------------
# DisqusJS - Render Disqus comments using API.
# See: https://github.com/SukkaW/DisqusJS
disqus:
enable: false
shortname:
api:
apikey:
admin:
admin_label:
# Giscus - A comment system powered by GitHub Discussions.
# See: https://github.com/giscus/giscus
giscus:
enable: false
repo:
repo_id:
category: Announcements
category_id:
mapping: pathname
strict: 0
reactions_enabled: 1
emit_metadata: 0
input_position: top
theme: preferred_color_scheme
lang: en
loading: lazy
# Google Analytics
# See: https://github.com/SukkaW/cloudflare-workers-async-google-analytics
google_analytics:
enable: false
api:
tracking_id:
# Umami - A self-hosted alternative to Google Analytics.
# See: https://github.com/umami-software/umami
umami:
enable: false
script_url:
website_id:
# Google Search Console
google_site_verification:
# Google Font CDN (No trailing slash)
google_font: https://fonts.googleapis.com
# Post Views Counter
# Should implements: HTTP GET `${api}?pages=foo,bar,baz`
# which returns JSON in format: {"data": {"foo": 123, "bar": 456, "baz": 789}}
# See: https://github.com/printempw/google-analytics-hit-counter
post_views_counter:
enable: false
api:
# ---------------------------------------------------------------
# Miscelaneous
# ---------------------------------------------------------------
# Show a notice if the post hasn't been updated for more than 1 year.
# Customize the message in 'layout/_partials/post-warning.swig'.
expired_warning: false
# Resources for Open Graph meta tags.
# See: https://hexo.io/docs/helpers.html#open-graph
open_graph:
# twitter_id:
# twitter_site:
# google_plus:
# fb_admins:
# fb_app_id:
# Script Vendors. Set a CDN address for the vendor you want to customize.
vendors:
hancss: https://cdn.jsdelivr.net/npm/[email protected]/dist/han.min.css
hancss_script: https://cdn.jsdelivr.net/npm/[email protected]/dist/han.min.js
highlightjs: https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/highlight.min.js
highlightjs_style: https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/styles/atom-one-light.min.css
highlightjs_style_dark: https://cdn.jsdelivr.net/npm/@highlightjs/[email protected]/styles/atom-one-dark.min.css
dayjs: https://cdn.jsdelivr.net/npm/[email protected]/dayjs.min.js
disqusjs: https://cdn.jsdelivr.net/npm/[email protected]/dist/disqus.js
disqusjs_style: https://cdn.jsdelivr.net/npm/[email protected]/dist/disqusjs.css
medium_zoom: https://cdn.jsdelivr.net/npm/[email protected]/dist/medium-zoom.min.js
vanilla_lazyload: https://cdn.jsdelivr.net/npm/[email protected]/dist/lazyload.min.js
cfga: https://cdn.jsdelivr.net/npm/[email protected]/cfga.min.js
giscus: https://giscus.app/client.js