2022-09-29 21:59:40 +08:00
|
|
|
## ======================================================================================
|
2023-01-13 11:03:28 +08:00
|
|
|
## Keep v3.6.1
|
2022-10-29 23:54:39 +08:00
|
|
|
## Preview: https://xpoet.cn
|
2022-11-17 21:34:14 +08:00
|
|
|
## Documents: https://keep-docs.xpoet.cn
|
2022-10-29 23:54:39 +08:00
|
|
|
## Repository: https://github.com/XPoet/hexo-theme-keep
|
2022-09-29 21:59:40 +08:00
|
|
|
## ======================================================================================
|
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2022-11-17 21:34:14 +08:00
|
|
|
# Your basic info
|
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/base_info.html
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-10-28 19:33:43 +08:00
|
|
|
base_info:
|
2022-09-26 14:03:34 +08:00
|
|
|
# Your blog website title
|
2020-12-25 19:59:34 +08:00
|
|
|
title: Keep Theme
|
2022-09-23 14:51:16 +08:00
|
|
|
|
2022-09-26 14:03:34 +08:00
|
|
|
# Your blog website author name
|
2021-02-04 17:51:16 +08:00
|
|
|
author: Keep Team
|
2022-09-23 14:51:16 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Theme style settings
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/style.html
|
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
|
2022-10-27 14:27:20 +08:00
|
|
|
primary_color: "#0066cc"
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2022-09-26 14:19:12 +08:00
|
|
|
# Your blog website logo image
|
2022-11-17 21:34:14 +08:00
|
|
|
# You can use local image, image external link or don't fill
|
2022-09-26 14:19:12 +08:00
|
|
|
logo: /images/logo.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
|
|
|
|
2022-09-27 20:21:17 +08:00
|
|
|
# Avatar (You can use local image or image external link)
|
|
|
|
avatar: /images/avatar.svg
|
2020-11-17 18:37:05 +08:00
|
|
|
|
2022-10-09 14:51:05 +08:00
|
|
|
# Font size, customize font size. (you don't usually have to fill)
|
|
|
|
# e.g. font_size: 18px
|
|
|
|
font_size:
|
|
|
|
|
|
|
|
# Font family, customize font family. (you don't usually have to fill)
|
|
|
|
# e.g. font_family: STKaiti, STSong, STHeiti
|
|
|
|
font_family:
|
|
|
|
|
2022-09-27 21:36:10 +08:00
|
|
|
# Mouse hover style settings
|
2020-11-13 14:43:22 +08:00
|
|
|
hover:
|
2022-11-11 14:11:01 +08:00
|
|
|
# Shadow effect when the mouse hover
|
2022-10-21 11:44:33 +08:00
|
|
|
shadow: false # Option values: true | false
|
2022-11-11 14:11:01 +08:00
|
|
|
# Scale effect when the mouse hovers
|
2022-10-21 11:44:33 +08:00
|
|
|
scale: false # Option values: true | false
|
2020-11-13 14:43:22 +08:00
|
|
|
|
2022-09-27 21:36:10 +08:00
|
|
|
# First screen style settings
|
2020-11-17 18:37:05 +08:00
|
|
|
first_screen:
|
2022-10-21 11:44:33 +08:00
|
|
|
enable: false # Option values: true | false
|
2022-09-24 00:20:47 +08:00
|
|
|
|
2022-11-11 14:11:01 +08:00
|
|
|
# Set transparent background for header
|
2022-10-21 14:06:26 +08:00
|
|
|
header_transparent: false # Option values: true | false
|
2022-09-26 17:52:38 +08:00
|
|
|
|
2022-09-24 00:20:47 +08:00
|
|
|
# First screen background image (You can use local image or image external link)
|
|
|
|
background_img: /images/bg.svg
|
|
|
|
|
2022-09-24 00:30:52 +08:00
|
|
|
# First screen description
|
2022-09-27 21:36:10 +08:00
|
|
|
# You can use the "||" to begin a newline, maximum is two lines.
|
2020-12-07 14:36:53 +08:00
|
|
|
description: Keep writing and Keep loving.
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2022-09-26 14:03:34 +08:00
|
|
|
# If you want to customize the first screen font color, you can fill in here (e.g. "#0066CC")
|
|
|
|
# Otherwise use the theme default font color
|
|
|
|
font_color:
|
|
|
|
|
2022-09-27 21:36:10 +08:00
|
|
|
# If enable hitokoto, first screen description is different every time when you enter the site
|
2022-10-27 14:27:20 +08:00
|
|
|
hitokoto: false # Option values: true | false
|
2022-09-24 00:20:47 +08:00
|
|
|
|
|
|
|
# Page scroll style settings
|
2021-01-10 23:49:25 +08:00
|
|
|
scroll:
|
2022-09-24 00:30:52 +08:00
|
|
|
# Show progress bar in top when page scroll
|
2022-10-27 15:06:16 +08:00
|
|
|
progress_bar: false # Option values: true | false
|
2022-09-24 00:30:52 +08:00
|
|
|
|
|
|
|
# Show percent when page scroll
|
2022-10-27 15:06:16 +08:00
|
|
|
percent: false # Option values: true | false
|
2020-11-15 22:06:32 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-09-11 15:06:38 +08:00
|
|
|
# Navigation menu
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/menu.html
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2022-09-27 21:36:10 +08:00
|
|
|
# If you want to enable Categories and Tags, you need to create categories and tags pages
|
|
|
|
# e.g. `hexo new page categories` or `hexo new page tags`
|
2020-03-13 19:26:09 +08:00
|
|
|
menu:
|
|
|
|
Home: /
|
|
|
|
Archives: /archives
|
2020-09-03 12:27:16 +08:00
|
|
|
# Tags: /tags
|
2022-10-27 14:27:20 +08:00
|
|
|
# Categories: /categories
|
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
|
|
|
|
2022-09-27 21:36:10 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Social contact link
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/social_contact.html
|
2022-09-27 21:36:10 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
social_contact:
|
|
|
|
enable: false # Option values: true | false
|
|
|
|
links:
|
2022-10-02 23:37:27 +08:00
|
|
|
# Fill in your social platform links here, e.g. [ github: https://github.com/XPoet ]
|
|
|
|
# If you want to click open the picture, you need to add a prefix "img |",
|
|
|
|
# at the same time change your link to the image link.
|
|
|
|
# e.g. [ weixin: img | https://x.com/images/wechat.png ] or [ weixin: img | ./images/wechat.png ]
|
|
|
|
github: # GitHub
|
|
|
|
weixin: # WeChat
|
|
|
|
qq: # QQ
|
|
|
|
weibo: # WeiBo
|
|
|
|
zhihu: # ZhiHu
|
|
|
|
twitter: # Twitter
|
|
|
|
facebook: # Facebook
|
|
|
|
email: # Email
|
2022-09-27 21:36:10 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Home page article block display settings
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/home_article.html
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
home_article:
|
2022-11-11 14:11:01 +08:00
|
|
|
# Show category in home page article block
|
2021-01-05 17:05:14 +08:00
|
|
|
category:
|
2022-10-21 14:06:26 +08:00
|
|
|
enable: false # Option values: true | false
|
2022-09-27 21:36:10 +08:00
|
|
|
limit: 3 # Max number of categories shown in home page article block
|
2022-11-11 14:11:01 +08:00
|
|
|
# Show tags in home page article block
|
2021-01-05 17:05:14 +08:00
|
|
|
tag:
|
2022-10-21 14:06:26 +08:00
|
|
|
enable: false # Option values: true | false
|
2022-09-27 21:36:10 +08:00
|
|
|
limit: 5 # Max number of tags shown in home page article block
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2021-01-28 16:23:47 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Post page Settings
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/post.html
|
2021-01-28 16:23:47 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
post:
|
2022-09-27 21:36:10 +08:00
|
|
|
# Author label in the post
|
2021-01-28 16:23:47 +08:00
|
|
|
author_label:
|
2022-10-21 14:06:26 +08:00
|
|
|
enable: true # Option values: true | false
|
2022-09-27 21:36:10 +08:00
|
|
|
|
2022-11-11 14:11:01 +08:00
|
|
|
# If true, show Lv1, Lv2, Lv3 ...
|
2022-09-27 21:36:10 +08:00
|
|
|
# If false, show custom_label_list
|
2022-10-21 14:06:26 +08:00
|
|
|
auto: true # Option values: true | false
|
2022-09-27 21:36:10 +08:00
|
|
|
|
|
|
|
# Label array item can be fill one or more
|
2022-09-28 09:40:57 +08:00
|
|
|
custom_label_list: ["Trainee", "Engineer", "Architect"]
|
2021-01-28 16:23:47 +08:00
|
|
|
|
2022-10-28 15:06:33 +08:00
|
|
|
# Post word count
|
|
|
|
# Dependencies: hexo-wordcount (`npm install hexo-wordcount`)
|
|
|
|
# See: https://github.com/willin/hexo-wordcount
|
|
|
|
word_count:
|
|
|
|
enable: false # Option values: true | false
|
|
|
|
wordcount: false # Word count, one article. Option values: true | false
|
|
|
|
min2read: false # Time to read, one article. Option values: true | false
|
|
|
|
|
|
|
|
# Image align position in the post
|
|
|
|
img_align: left # Option values: left | center
|
|
|
|
|
|
|
|
# Post copyright info
|
|
|
|
copyright_info: false # Option values: true | false
|
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2022-10-17 21:54:21 +08:00
|
|
|
# Code block
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/code_block.html
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2022-10-17 21:54:21 +08:00
|
|
|
code_block:
|
2022-10-21 11:44:33 +08:00
|
|
|
# Toolbar include: "code copy", "code block collapse" and "code language"
|
|
|
|
tools:
|
|
|
|
enable: false # Option values: true | false
|
|
|
|
style: default # Option values: default | mac
|
|
|
|
highlight_theme: default # Option values: default | obsidian
|
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
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/toc.html
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
toc:
|
2022-10-21 11:44:33 +08:00
|
|
|
enable: false # Option values: true | false
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2022-11-11 14:11:01 +08:00
|
|
|
# Automatically add list number to toc
|
2022-10-21 11:44:33 +08:00
|
|
|
number: false # Option values: true | 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.
|
2022-10-21 11:44:33 +08:00
|
|
|
expand_all: false # Option values: true | 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
|
2022-10-21 11:44:33 +08:00
|
|
|
init_open: false # Option values: true | false
|
2021-01-27 12:03:49 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Website count
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/website_count.html
|
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:
|
2022-10-21 11:44:33 +08:00
|
|
|
enable: false # Option values: true | false
|
|
|
|
site_uv: false # Option values: true | false
|
|
|
|
site_pv: false # Option values: true | false
|
|
|
|
page_pv: false # Option values: true | false
|
2020-09-11 15:06:38 +08:00
|
|
|
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
# Local Search
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/local_search.html
|
2022-09-27 21:36:10 +08:00
|
|
|
# Dependencies: hexo-generator-searchdb (`npm install hexo-generator-searchdb`)
|
2021-01-05 17:05:14 +08:00
|
|
|
# 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:
|
2022-10-21 11:44:33 +08:00
|
|
|
enable: false # Option values: true | false
|
|
|
|
preload: false # Preload the search data when the page loads. Option values: true | false
|
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
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/comment.html
|
2020-10-19 23:02:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2021-01-05 17:05:14 +08:00
|
|
|
comment:
|
2022-09-27 21:36:10 +08:00
|
|
|
enable: false # Option values: true | false
|
2022-10-21 14:06:26 +08:00
|
|
|
use: valine # Option values: valine | gitalk | twikoo | waline
|
2021-01-28 17:44:01 +08:00
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
# Valine
|
|
|
|
# See: https://github.com/xCss/Valine
|
2022-10-13 22:51:32 +08:00
|
|
|
# https://valine.js.org
|
2021-01-05 17:05:14 +08:00
|
|
|
valine:
|
2022-09-27 21:36:10 +08:00
|
|
|
appid: # Your leancloud application appid
|
|
|
|
appkey: # Your leancloud application appkey
|
2022-11-24 17:56:19 +08:00
|
|
|
server_urls: # Your Server URL
|
2022-09-27 21:36:10 +08:00
|
|
|
placeholder: # Input box placeholder
|
2020-04-30 12:24:57 +08:00
|
|
|
|
2021-01-05 17:05:14 +08:00
|
|
|
# Gitalk
|
|
|
|
# See: https://github.com/gitalk/gitalk
|
2022-10-13 22:51:32 +08:00
|
|
|
# https://gitalk.github.io
|
2021-01-05 17:05:14 +08:00
|
|
|
gitalk:
|
2022-09-27 21:36:10 +08:00
|
|
|
github_id: # GitHub repo owner
|
2022-11-11 14:11:01 +08:00
|
|
|
github_admins: # GitHub Admins (in Array type), optional
|
2022-09-27 21:36:10 +08:00
|
|
|
repository: # Repository name to store issues
|
|
|
|
client_id: # GitHub Application Client ID
|
|
|
|
client_secret: # GitHub Application Client Secret
|
2023-01-05 11:36:38 +08:00
|
|
|
proxy: # GitHub oauth request reverse proxy for CORS
|
2020-11-18 12:24:39 +08:00
|
|
|
|
2021-01-15 16:18:02 +08:00
|
|
|
# Twikoo
|
|
|
|
# See: https://github.com/imaegoo/twikoo
|
2022-10-13 22:51:32 +08:00
|
|
|
# https://twikoo.js.org
|
2021-01-15 16:18:02 +08:00
|
|
|
twikoo:
|
2022-09-27 21:36:10 +08:00
|
|
|
env_id: # Tencent Cloud environment id
|
2022-11-11 14:11:01 +08:00
|
|
|
region: # Environment region. If select Guangzhou, fill in "ap-guangzhou"
|
2023-01-05 13:53:30 +08:00
|
|
|
version: 1.6.8 # Twikoo version, default use v1.6.8
|
2022-10-13 22:51:32 +08:00
|
|
|
|
|
|
|
# Waline
|
|
|
|
# See: https://github.com/walinejs/waline
|
|
|
|
# https://waline.js.org/guide/get-started.html
|
|
|
|
waline:
|
|
|
|
server_url: # Server URL
|
2022-10-26 00:07:46 +08:00
|
|
|
reaction: false # Article reactions, Option values: true | false
|
2022-10-13 22:51:32 +08:00
|
|
|
version: 2 # Waline version, default use v2
|
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
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/rss.html
|
|
|
|
# Dependencies: hexo-generator-feed (`npm install hexo-generator-feed`)
|
2021-01-05 17:05:14 +08:00
|
|
|
# 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:
|
2022-10-21 14:06:26 +08:00
|
|
|
enable: false # Option values: true | 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
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/lazyload.html
|
2021-01-07 15:15:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
lazyload:
|
2022-10-21 14:06:26 +08:00
|
|
|
enable: false # Option values: true | false
|
2021-01-07 15:15:39 +08:00
|
|
|
|
2020-11-18 12:24:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
# CDN
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/cdn.html
|
2020-11-18 12:24:39 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
cdn:
|
2022-09-27 21:36:10 +08:00
|
|
|
enable: false # Option values: true | false
|
|
|
|
provider: jsdelivr # Option values: jsdelivr | unpkg
|
2020-11-24 10:52:54 +08:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
# PJAX
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/pjax.html
|
2020-11-24 10:52:54 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
2020-12-30 18:11:46 +08:00
|
|
|
pjax:
|
2022-09-27 21:36:10 +08:00
|
|
|
enable: false # Option values: true | false
|
2020-12-30 18:11:46 +08:00
|
|
|
|
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
# Footer settings
|
2022-11-17 21:34:14 +08:00
|
|
|
# Docs: https://keep-docs.xpoet.cn/tutorial/configuration-guide/footer.html
|
2020-12-30 18:11:46 +08:00
|
|
|
# ---------------------------------------------------------------------------------------
|
|
|
|
footer:
|
2022-11-11 14:11:01 +08:00
|
|
|
since: 2020 # The starting year of your website, Can be null
|
|
|
|
icp: # ICP record number of your website, Can be null
|
|
|
|
site_deploy:
|
|
|
|
enable: false # Option values: true | false
|
|
|
|
provider: github # Option values: github | vercel | netlify | gitee | aliyun | tencent_cloud | upyun
|
|
|
|
url: # Your deployment provider url, Can be null
|