hexo-theme-keep/_config.yml

282 lines
11 KiB
YAML
Raw Normal View History

## ======================================================================================
2022-10-21 10:37:50 +08:00
## Keep v3.5.0
## Repository: https://github.com/XPoet/hexo-theme-keep
## Document: https://keep-docs.xpoet.cn
## ======================================================================================
# ---------------------------------------------------------------------------------------
# Your basic info
# ---------------------------------------------------------------------------------------
base_info:
# Your blog website title
2020-12-25 19:59:34 +08:00
title: Keep Theme
# Your blog website author name
2021-02-04 17:51:16 +08:00
author: Keep Team
# Your blog website url
2020-11-20 12:02:22 +08:00
url: https://keep.xpoet.cn/
# ---------------------------------------------------------------------------------------
# Theme style settings
# ---------------------------------------------------------------------------------------
style:
2020-09-11 15:59:10 +08:00
# Theme primary color
2021-05-17 15:01:47 +08:00
primary_color: "#0066CC"
2020-04-30 12:24:57 +08:00
# Your blog website logo image
# You can use local image, image external link or dont fill
logo: /images/logo.svg
# Favicon (You can use local image or image external link)
favicon: /images/logo.svg
# Avatar (You can use local image or image external link)
avatar: /images/avatar.svg
2020-11-17 18:37: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:
# Mouse hover style settings
2020-11-13 14:43:22 +08:00
hover:
# Shadow effect when the mouse hover. Option values: true | false
shadow: false
# Scale effect when the mouse hover. Option values: true | false
scale: false
2020-11-13 14:43:22 +08:00
# First screen style settings
2020-11-17 18:37:05 +08:00
first_screen:
enable: false # Option values: true | false
# Set transparent background for header. Option values: true | false
header_transparent: false
# First screen background image (You can use local image or image external link)
background_img: /images/bg.svg
# First screen description
# You can use the "||" to begin a newline, maximum is two lines.
description: Keep writing and Keep loving.
# 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:
# If enable hitokoto, first screen description is different every time when you enter the site
hitokoto:
enable: false # Option values: true | false
# Page scroll style settings
scroll:
# Show progress bar in top when page scroll
progress_bar:
enable: false # Option values: true | false
# Show percent when page scroll
percent:
enable: false # Option values: true | false
2020-11-15 22:06:32 +08:00
# ---------------------------------------------------------------------------------------
# Navigation menu
# ---------------------------------------------------------------------------------------
# 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`
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
# Changelog: /changelog
# ......
# ---------------------------------------------------------------------------------------
# Social contact link
# ---------------------------------------------------------------------------------------
social_contact:
enable: false # Option values: true | false
links:
# 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
# ---------------------------------------------------------------------------------------
# Home page article block display settings
# ---------------------------------------------------------------------------------------
home_article:
category:
enable: false # Show category in home page article block. Option values: true | false
limit: 3 # Max number of categories shown in home page article block
tag:
enable: false # Show tags in home page article block. Option values: true | false
limit: 5 # Max number of tags shown in home page article block
# ---------------------------------------------------------------------------------------
# Post page Settings
# ---------------------------------------------------------------------------------------
post:
# Image align position in the post, Option values: left | center
img_align: left
# 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
# Author label in the post
author_label:
enable: true # Option values: true | false
# If true, show Lv1, Lv2, Lv3...
# If false, show custom_label_list
2022-09-28 09:40:57 +08:00
auto: true # Option values: true | false
# Label array item can be fill one or more
2022-09-28 09:40:57 +08:00
custom_label_list: ["Trainee", "Engineer", "Architect"]
# ---------------------------------------------------------------------------------------
2022-10-17 21:54:21 +08:00
# Code block
# Support code copy and code block collapse
# ---------------------------------------------------------------------------------------
2022-10-17 21:54:21 +08:00
code_block:
tools: # Include "code copy", "code block collapse" and "code language"
enable: false # Option values: true | false
style: default # Option values: default | mac
highlight_theme: default # Option values: default | obsidian
# ---------------------------------------------------------------------------------------
# Table of Contents in the Sidebar
# ---------------------------------------------------------------------------------------
toc:
enable: false # Option values: true | false
2020-04-30 12:24:57 +08:00
# Automatically add list number to toc.
number: false # Option values: true | false
2020-04-30 12:24:57 +08:00
# If true, all level of TOC in a post will be displayed, rather than the activated part of it.
expand_all: false # Option values: true | false
2020-04-30 12:24:57 +08:00
# If true, open TOC every time when you enter the article page
init_open: false # Option values: true | false
# ---------------------------------------------------------------------------------------
# Post copyright info
# ---------------------------------------------------------------------------------------
copyright_info:
enable: false # Option values: true | false
2020-04-18 17:26:29 +08:00
# ---------------------------------------------------------------------------------------
# Website count
# ---------------------------------------------------------------------------------------
website_count:
# busuanzi
# See: http://ibruce.info/2015/04/04/busuanzi/
busuanzi_count:
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
# ---------------------------------------------------------------------------------------
# Local Search
# Dependencies: hexo-generator-searchdb (`npm install hexo-generator-searchdb`)
# See: https://github.com/theme-next/hexo-generator-searchdb
# ---------------------------------------------------------------------------------------
local_search:
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
# ---------------------------------------------------------------------------------------
# Comment plugin
# ---------------------------------------------------------------------------------------
comment:
enable: false # Option values: true | false
use: valine # Option values: valine | gitalk | twikoo
# Valine
# See: https://github.com/xCss/Valine
# https://valine.js.org
valine:
appid: # Your leancloud application appid
appkey: # Your leancloud application appkey
placeholder: # Input box placeholder
2020-04-30 12:24:57 +08:00
# Gitalk
# See: https://github.com/gitalk/gitalk
# https://gitalk.github.io
gitalk:
github_id: # GitHub repo owner
github_admins: # GitHub Admins (in Array type), optional.
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
# https://twikoo.js.org
2021-01-15 16:18:02 +08:00
twikoo:
env_id: # Tencent Cloud environment id
region: # Environment region. If select Guangzhou, fill in "ap-guangzhou".
version: 1.6.7 # Twikoo version, default use v1.6.7
# Waline
# See: https://github.com/walinejs/waline
# https://waline.js.org/guide/get-started.html
waline:
server_url: # Server URL
reaction: # Article reactions
version: 2 # Waline version, default use v2
2020-11-18 12:24:39 +08:00
# ---------------------------------------------------------------------------------------
# RSS
# Dependencies: hexo-generator-feed
# See: https://github.com/hexojs/hexo-generator-feed
# ---------------------------------------------------------------------------------------
rss:
enable: false # Option values: true | false
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 # Option values: true | false
2021-01-07 15:15:39 +08:00
2020-11-18 12:24:39 +08:00
# ---------------------------------------------------------------------------------------
# CDN
2020-11-18 12:24:39 +08:00
# ---------------------------------------------------------------------------------------
cdn:
enable: false # Option values: true | false
provider: jsdelivr # Option values: jsdelivr | unpkg
2020-11-24 10:52:54 +08:00
# ---------------------------------------------------------------------------------------
# PJAX
2020-11-24 10:52:54 +08:00
# ---------------------------------------------------------------------------------------
pjax:
enable: false # Option values: true | false
# ---------------------------------------------------------------------------------------
# Footer settings
# ---------------------------------------------------------------------------------------
footer:
since: 2020 # the starting year of your website. Can be null
icp: # ICP record number of your website. Can be null
upyun: # If your site is deployed on upyun, your can fill the upyun url. Can be null