Skip to content

Commit d53f8b9

Browse files
committed
添加next主题的配置文件
1 parent 3b68089 commit d53f8b9

File tree

1 file changed

+394
-0
lines changed

1 file changed

+394
-0
lines changed

themes/next/_config.yml

+394
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,394 @@
1+
# ---------------------------------------------------------------
2+
# Site Information Settings
3+
# ---------------------------------------------------------------
4+
5+
# Put your favicon.ico into `hexo-site/source/` directory.
6+
favicon: /favicon.ico
7+
8+
# Set default keywords (Use a comma to separate)
9+
keywords: "Hexo, NexT"
10+
11+
# Set rss to false to disable feed link.
12+
# Leave rss as empty to use site's feed link.
13+
# Set rss to specific value if you have burned your feed already.
14+
rss:
15+
16+
# Specify the date when the site was setup
17+
#since: 2015
18+
19+
# Canonical, set a canonical link tag in your hexo, you could use it for your SEO of blog.
20+
# See: https://support.google.com/webmasters/answer/139066
21+
# Tips: Before you open this tag, remeber set up your URL in hexo _config.yml ( ex. url: http://yourdomain.com )
22+
canonical: true
23+
24+
# ---------------------------------------------------------------
25+
# Menu Settings
26+
# ---------------------------------------------------------------
27+
28+
# When running the site in a subdirectory (e.g. domain.tld/blog), remove the leading slash (/archives -> archives)
29+
menu:
30+
home: /
31+
categories: /categories
32+
about: /about
33+
archives: /archives
34+
tags: /tags
35+
#commonweal: /404.html
36+
37+
38+
# Enable/Disable menu icons.
39+
# Icon Mapping:
40+
# Map a menu item to a specific FontAwesome icon name.
41+
# Key is the name of menu item and value is the name of FontAwsome icon. Key is case-senstive.
42+
# When an question mask icon presenting up means that the item has no mapping icon.
43+
menu_icons:
44+
enable: true
45+
#KeyMapsToMenuItemKey: NameOfTheIconFromFontAwesome
46+
home: home
47+
about: user
48+
categories: th
49+
tags: tags
50+
archives: archive
51+
commonweal: heartbeat
52+
53+
54+
55+
56+
# ---------------------------------------------------------------
57+
# Scheme Settings
58+
# ---------------------------------------------------------------
59+
60+
# Schemes
61+
#scheme: Muse
62+
#scheme: Mist
63+
scheme: Pisces
64+
65+
66+
# ---------------------------------------------------------------
67+
# Font Settings
68+
# - Find fonts on Google Fonts (https://www.google.com/fonts)
69+
# - All fonts set here will have the following styles:
70+
# light, light italic, normal, normal intalic, bold, bold italic
71+
# - Be aware that setting too much fonts will cause site running slowly
72+
# - Introduce in 5.0.1
73+
# ---------------------------------------------------------------
74+
font:
75+
enable: true
76+
77+
# Uri of fonts host. E.g. //fonts.googleapis.com (Default)
78+
host:
79+
80+
# Global font settings used on <body> element.
81+
global:
82+
# external: true will load this font family from host.
83+
external: true
84+
family: Lato
85+
86+
# Font settings for Headlines (h1, h2, h3, h4, h5, h6)
87+
# Fallback to `global` font settings.
88+
headings:
89+
external: true
90+
family:
91+
92+
# Font settings for posts
93+
# Fallback to `global` font settings.
94+
posts:
95+
external: true
96+
family:
97+
98+
# Font settings for Logo
99+
# Fallback to `global` font settings.
100+
# The `size` option use `px` as unit
101+
logo:
102+
external: true
103+
family:
104+
size:
105+
106+
# Font settings for <code> and code blocks.
107+
codes:
108+
external: true
109+
family:
110+
111+
112+
113+
114+
# ---------------------------------------------------------------
115+
# Sidebar Settings
116+
# ---------------------------------------------------------------
117+
118+
119+
# Social Links
120+
# Key is the link label showing to end users.
121+
# Value is the target link (E.g. GitHub: https://github.com/iissnan)
122+
#social:
123+
#LinkLabel: Link
124+
social:
125+
Github: https://github.com/Cyw1104
126+
127+
# Social Links Icons
128+
# Icon Mapping:
129+
# Map a menu item to a specific FontAwesome icon name.
130+
# Key is the name of the item and value is the name of FontAwsome icon. Key is case-senstive.
131+
# When an globe mask icon presenting up means that the item has no mapping icon.
132+
social_icons:
133+
enable: true
134+
# Icon Mappings.
135+
# KeyMapsToSocalItemKey: NameOfTheIconFromFontAwesome
136+
GitHub: github
137+
Twitter: twitter
138+
Weibo: weibo
139+
140+
141+
# Sidebar Avatar
142+
# in theme directory(source/images): /images/avatar.jpg
143+
# in site directory(source/uploads): /uploads/avatar.jpg
144+
avatar: images/avatar.png
145+
146+
147+
# Table Of Contents in the Sidebar
148+
toc:
149+
enable: true
150+
151+
# Automatically add list number to toc.
152+
number: true
153+
154+
155+
# Creative Commons 4.0 International License.
156+
# http://creativecommons.org/
157+
# Available: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | zero
158+
#creative_commons: by-nc-sa
159+
#creative_commons:
160+
161+
162+
sidebar:
163+
# Sidebar Position, available value: left | right
164+
position: left
165+
#position: right
166+
167+
# Sidebar Display, available value:
168+
# - post expand on posts automatically. Default.
169+
# - always expand for all pages automatically
170+
# - hide expand only when click on the sidebar toggle icon.
171+
# - remove Totally remove sidebar including sidebar toggler.
172+
display: post
173+
#display: always
174+
#display: hide
175+
#display: remove
176+
177+
178+
# Blogrolls
179+
#links_title: Links
180+
#links_layout: block
181+
#links_layout: inline
182+
#links:
183+
#Title: http://example.com/
184+
185+
186+
# ---------------------------------------------------------------
187+
# Misc Theme Settings
188+
# ---------------------------------------------------------------
189+
190+
# Custom Logo.
191+
# !!Only available for Default Scheme currently.
192+
# Options:
193+
# enabled: [true/false] - Replace with specific image
194+
# image: url-of-image - Images's url
195+
custom_logo:
196+
enabled: false
197+
image:
198+
199+
200+
# Code Highlight theme
201+
# Available value:
202+
# normal | night | night eighties | night blue | night bright
203+
# https://github.com/chriskempson/tomorrow-theme
204+
highlight_theme: normal
205+
206+
207+
# Automatically scroll page to section which is under <!-- more --> mark.
208+
scroll_to_more: true
209+
210+
211+
# Automatically Excerpt. Not recommand.
212+
# Please use <!-- more --> in the post to control excerpt accurately.
213+
auto_excerpt:
214+
enable: true
215+
length: 150
216+
217+
218+
# Wechat Subscriber
219+
#wechat_subscriber:
220+
#enabled: true
221+
#qcode: /path/to/your/wechatqcode ex. /uploads/wechat-qcode.jpg
222+
#description: ex. subscribe to my blog by scanning my public wechat account
223+
224+
225+
226+
227+
# ---------------------------------------------------------------
228+
# Third Party Services Settings
229+
# ---------------------------------------------------------------
230+
231+
# MathJax Support
232+
mathjax:
233+
enable: false
234+
cdn: //cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML
235+
236+
237+
# Swiftype Search API Key
238+
#swiftype_key:
239+
240+
# Baidu Analytics ID
241+
#baidu_analytics:
242+
243+
# Duoshuo ShortName
244+
duoshuo_shortname: changwang1104
245+
246+
# Disqus
247+
#disqus_shortname:
248+
249+
# Baidu Share
250+
# Available value:
251+
# button | slide
252+
#baidushare:
253+
## type: button
254+
255+
# Share
256+
#jiathis:
257+
#add_this_id:
258+
259+
# Share
260+
#duoshuo_share: true
261+
262+
# Google Webmaster tools verification setting
263+
# See: https://www.google.com/webmasters/
264+
#google_site_verification:
265+
266+
267+
# Google Analytics
268+
#google_analytics:
269+
270+
# CNZZ count
271+
#cnzz_siteid:
272+
273+
274+
# Make duoshuo show UA
275+
# user_id must NOT be null when admin_enable is true!
276+
# you can visit http://dev.duoshuo.com get duoshuo user id.
277+
duoshuo_info:
278+
ua_enable: true
279+
admin_enable: false
280+
user_id: 6332686760899773000
281+
admin_nickname: Changwang
282+
283+
284+
# Facebook SDK Support.
285+
# https://github.com/iissnan/hexo-theme-next/pull/410
286+
facebook_sdk:
287+
enable: false
288+
app_id: #<app_id>
289+
fb_admin: #<user_id>
290+
like_button: #true
291+
webmaster: #true
292+
293+
# Facebook comments plugin
294+
# This plugin depends on Facebook SDK.
295+
# If facebook_sdk.enable is false, Facebook comments plugin is unavailable.
296+
facebook_comments_plugin:
297+
enable: false
298+
num_of_posts: 10
299+
300+
301+
# Show number of visitors to each article.
302+
# You can visit https://leancloud.cn get AppID and AppKey.
303+
leancloud_visitors:
304+
enable: true
305+
app_id: EN9DomiQMsEE6y96op86BKus-gzGzoHsz
306+
app_key: P5ex2nwyWVHuXTT6UnyOBo46
307+
308+
# Show PV/UV of the website/page with busuanzi.
309+
# Get more information on http://ibruce.info/2015/04/04/busuanzi/
310+
busuanzi_count:
311+
# count values only if the other configs are false
312+
enable: false
313+
# custom uv span for the whole site
314+
site_uv: true
315+
site_uv_header: <i class="fa fa-user"></i>
316+
site_uv_footer:
317+
# custom pv span for the whole site
318+
site_pv: true
319+
site_pv_header: <i class="fa fa-eye"></i>
320+
site_pv_footer:
321+
# custom pv span for one page only
322+
page_pv: true
323+
page_pv_header: <i class="fa fa-file-o"></i>
324+
page_pv_footer:
325+
326+
# Tencent analytics ID
327+
# tencent_analytics:
328+
329+
# Enable baidu push so that the blog will push the url to baidu automatically which is very helpful for SEO
330+
baidu_push: false
331+
332+
333+
334+
#! ---------------------------------------------------------------
335+
#! DO NOT EDIT THE FOLLOWING SETTINGS
336+
#! UNLESS YOU KNOW WHAT YOU ARE DOING
337+
#! ---------------------------------------------------------------
338+
339+
# Motion
340+
use_motion: true
341+
342+
# Fancybox
343+
fancybox: true
344+
345+
346+
# Script Vendors.
347+
# Set a CDN address for the vendor you want to customize.
348+
# For example
349+
# jquery: https://ajax.googleapis.com/ajax/libs/jquery/2.2.0/jquery.min.js
350+
# Be aware that you should use the same version as internal ones to avoid potential problems.
351+
vendors:
352+
# Internal path prefix. Please do not edit it.
353+
_internal: vendors
354+
355+
# Internal version: 2.1.3
356+
jquery:
357+
358+
# Internal version: 2.1.5
359+
# http://fancyapps.com/fancybox/
360+
fancybox:
361+
fancybox_css:
362+
363+
# Internal version: 1.0.6
364+
# https://github.com/ftlabs/fastclick
365+
fastclick:
366+
367+
# Internal version: 1.9.7
368+
# https://github.com/tuupola/jquery_lazyload
369+
lazyload:
370+
371+
# Internal version: 1.2.1
372+
# http://VelocityJS.org
373+
velocity:
374+
375+
# Internal version: 1.2.1
376+
# http://VelocityJS.org
377+
velocity_ui:
378+
379+
# Internal version: 0.7.9
380+
# https://faisalman.github.io/ua-parser-js/
381+
ua_parser:
382+
383+
# Internal version: 4.4.0
384+
# http://fontawesome.io/
385+
fontawesome:
386+
387+
388+
# Assets
389+
css: css
390+
js: js
391+
images: images
392+
393+
# Theme version
394+
version: 5.0.1

0 commit comments

Comments
 (0)