2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-10-28 19:33:43 +08:00
|
|
|
# Your basic info
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-10-28 19:33:43 +08:00
|
|
|
base_info:
|
2020-12-25 19:59:34 +08:00
|
|
|
title: Keep Theme
|
2020-11-20 12:02:22 +08:00
|
|
|
author: Keep team
|
|
|
|
url: https://keep.xpoet.cn/
|
|
|
|
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Theme style settings
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
style:
|
2020-09-11 15:59:10 +08:00
|
|
|
# Theme primary color
|
2020-11-17 18:37:05 +08:00
|
|
|
primary_color: '#0066CC'
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-11-30 18:25:40 +08:00
|
|
|
# Avatar (You can use local image or image external link)
|
2021-01-05 18:42:15 +08:00
|
|
|
avatar: /images/avatar.svg
|
2020-11-30 18:25:40 +08:00
|
|
|
|
|
|
|
# Favicon (You can use local image or image external link)
|
2020-12-07 14:36:53 +08:00
|
|
|
favicon: /images/logo.svg
|
2020-11-30 18:25:40 +08:00
|
|
|
|
2021-01-05 18:37:36 +08:00
|
|
|
# Article image align position, value: left | center
|
|
|
|
article_img_align: left
|
2020-11-17 18:37:05 +08:00
|
|
|
|
2020-11-17 18:53:08 +08:00
|
|
|
# Left side width
|
2020-11-17 18:37:05 +08:00
|
|
|
left_side_width: 260px
|
|
|
|
|
2020-11-25 23:39:24 +08:00
|
|
|
# Content area max width
|
2021-01-05 18:08:41 +08:00
|
|
|
content_max_width: 920px
|
2020-11-25 23:39:24 +08:00
|
|
|
|
2020-11-17 18:37:05 +08:00
|
|
|
# Mouse hover
|
2020-11-13 14:43:22 +08:00
|
|
|
hover:
|
2021-01-05 17:05:14 +08:00
|
|
|
shadow: false # shadow effect when the mouse hover
|
|
|
|
scale: false # scale effect when the mouse hover
|
2020-11-13 14:43:22 +08:00
|
|
|
|
2020-11-17 18:37:05 +08:00
|
|
|
# First screen
|
|
|
|
first_screen:
|
2021-01-05 18:37:36 +08:00
|
|
|
enable: false
|
2021-01-10 23:49:25 +08:00
|
|
|
background_img: /images/bg.svg # You can use local image or image external link
|
2020-12-07 14:36:53 +08:00
|
|
|
description: Keep writing and Keep loving.
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2021-01-10 23:51:22 +08:00
|
|
|
# Scroll style settings
|
2021-01-10 23:49:25 +08:00
|
|
|
scroll:
|
|
|
|
progress_bar:
|
|
|
|
enable: false
|
|
|
|
percent:
|
|
|
|
enable: false
|
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-11-15 22:06:32 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Social contact link
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
social_contact:
|
|
|
|
enable: false
|
|
|
|
links:
|
2020-11-17 18:37:05 +08:00
|
|
|
github: # your GitHub URL
|
2020-11-24 11:00:06 +08:00
|
|
|
weixin: # your WeChat QR-Code URL
|
2020-12-30 18:11:46 +08:00
|
|
|
qq: # your QQ QR-Code URL
|
2020-11-17 18:37:05 +08:00
|
|
|
weibo: # your WeiBo URL
|
2020-12-30 18:11:46 +08:00
|
|
|
zhihu: # your ZhiHu URL
|
2020-11-17 18:37:05 +08:00
|
|
|
twitter: # your twitter URL
|
|
|
|
facebook: # your facebook URL
|
2020-11-15 22:06:32 +08:00
|
|
|
email: # your email
|
|
|
|
|
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Navigation menu
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-03-13 19:26:09 +08:00
|
|
|
menu:
|
|
|
|
Home: /
|
|
|
|
Archives: /archives
|
2020-09-03 12:27:16 +08:00
|
|
|
# Categories: /categories
|
|
|
|
# Tags: /tags
|
2020-04-08 17:30:05 +08:00
|
|
|
# Links: /links
|
2020-09-02 17:49:53 +08:00
|
|
|
# About: /about
|
2021-01-05 18:08:41 +08:00
|
|
|
# Changelog: /changelog
|
2021-01-05 17:05:14 +08:00
|
|
|
# ......
|
2020-03-25 21:34:10 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Home page article block display settings
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
home_article:
|
|
|
|
category:
|
|
|
|
enable: false # show category in home page article block
|
|
|
|
limit: 3 # max number of categories shown in home page article block
|
|
|
|
tag:
|
|
|
|
enable: false # show tags in home page article block
|
|
|
|
limit: 5 # max number of tags shown in home page article block
|
2020-03-23 21:21:33 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2021-01-28 16:23:47 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Post page Settings
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
post:
|
|
|
|
# Post word count
|
|
|
|
# Dependencies: hexo-wordcount (npm install hexo-wordcount)
|
|
|
|
# See: https://github.com/willin/hexo-wordcount
|
|
|
|
word_count:
|
|
|
|
enable: false
|
|
|
|
wordcount: false # word count, one article
|
|
|
|
min2read: false # time to read, one article
|
|
|
|
|
2021-01-28 17:54:20 +08:00
|
|
|
# Author label
|
2021-01-28 16:23:47 +08:00
|
|
|
author_label:
|
|
|
|
enable: true
|
|
|
|
auto: true # if true, show Lv1, Lv2, Lv3... , If false, show custom label
|
|
|
|
# label array item can be one or more
|
|
|
|
custom_label_list: [ "Trainee", "Engineer", "Architect", "CTO", "BOSS" ]
|
|
|
|
|
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Code copy
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
code_copy:
|
|
|
|
enable: false
|
|
|
|
style: default # values: default | mac
|
2020-03-29 19:54:28 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Table of Contents in the Sidebar
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
toc:
|
2020-10-21 19:36:38 +08:00
|
|
|
enable: false
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
# Automatically add list number to toc.
|
2021-01-05 18:08:41 +08:00
|
|
|
number: false
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
|
2021-01-05 18:08:41 +08:00
|
|
|
expand_all: false
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2021-01-27 12:03:49 +08:00
|
|
|
# If true, open TOC every time when you enter the article page
|
|
|
|
init_open: false
|
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Post copyright info
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
copyright_info:
|
2021-01-05 18:08:41 +08:00
|
|
|
enable: false
|
2020-04-18 17:26:29 +08:00
|
|
|
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Website count
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
website_count:
|
|
|
|
# busuanzi
|
|
|
|
# See: http://ibruce.info/2015/04/04/busuanzi/
|
|
|
|
busuanzi_count:
|
|
|
|
enable: false
|
|
|
|
site_uv: false
|
|
|
|
site_pv: false
|
|
|
|
page_pv: false
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-09-03 12:27:16 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Local Search
|
|
|
|
# Dependencies: hexo-generator-searchdb
|
|
|
|
# See: https://github.com/theme-next/hexo-generator-searchdb
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
local_search:
|
|
|
|
enable: false
|
|
|
|
preload: false # Preload the search data when the page loads
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Comment plugin
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
comment:
|
2021-01-28 17:44:01 +08:00
|
|
|
enable: false
|
|
|
|
use: valine # values: valine | gitalk | twikoo
|
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
# Valine
|
|
|
|
# See: https://github.com/xCss/Valine
|
|
|
|
valine:
|
|
|
|
appid: # your leancloud application appid
|
|
|
|
appkey: # your leancloud application appkey
|
|
|
|
placeholder: # your placeholder
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
# Gitalk
|
|
|
|
# See: https://github.com/gitalk/gitalk
|
|
|
|
gitalk:
|
|
|
|
github_id: # GitHub repo owner
|
|
|
|
repository: # Repository name to store issues
|
|
|
|
client_id: # GitHub Application Client ID
|
|
|
|
client_secret: # GitHub Application Client Secret
|
2020-11-18 12:24:39 +08:00
|
|
|
|
2021-01-15 16:18:02 +08:00
|
|
|
# Twikoo
|
|
|
|
# See: https://github.com/imaegoo/twikoo
|
|
|
|
twikoo:
|
|
|
|
env_id: # Tencent Cloud environment id
|
|
|
|
region: # environment region. If select Guangzhou, fill in "ap-guangzhou".
|
|
|
|
|
2020-11-18 12:24:39 +08:00
|
|
|
|
2020-11-18 18:45:45 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# RSS
|
|
|
|
# Dependencies: hexo-generator-feed
|
|
|
|
# See: https://github.com/hexojs/hexo-generator-feed
|
2020-11-18 18:45:45 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
rss:
|
|
|
|
enable: false
|
2020-11-18 18:45:45 +08:00
|
|
|
|
|
|
|
|
2021-01-07 15:15:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-07 15:46:08 +08:00
|
|
|
# Lazyload image
|
2021-01-07 15:15:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
lazyload:
|
|
|
|
enable: false
|
|
|
|
|
|
|
|
|
2020-11-18 12:24:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
# CDN
|
2020-11-18 12:24:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
cdn:
|
|
|
|
enable: false
|
2020-11-24 10:52:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
# PJAX
|
2020-11-24 10:52:54 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
pjax:
|
|
|
|
enable: false
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Footer settings
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
footer:
|
2021-01-29 10:53:31 +08:00
|
|
|
since: 2020 # the starting year of your website, Can be null
|
|
|
|
icp: # ICP record number of your website, Can be null
|
2020-11-24 10:52:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Keep version (Please don't modify)
|
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-28 17:54:20 +08:00
|
|
|
version: 3.4.0
|