hexo-theme-keep/_config.yml

238 lines
7.6 KiB
YAML
Raw Normal View History

# ---------------------------------------------------------------------------------------
# Your basic info
# ---------------------------------------------------------------------------------------
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
# ---------------------------------------------------------------------------------------
# Theme style settings
# ---------------------------------------------------------------------------------------
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
# Avatar (You can use local image or image external link)
2021-01-05 18:42:15 +08:00
avatar: /images/avatar.svg
# Favicon (You can use local image or image external link)
favicon: /images/logo.svg
# 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
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:
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:
enable: false
background_img: /images/bg.svg # You can use local image or image external link
description: Keep writing and Keep loving.
2021-01-10 23:51:22 +08:00
# Scroll style settings
scroll:
progress_bar:
enable: false
percent:
enable: false
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
qq: # your QQ QR-Code URL
2020-11-17 18:37:05 +08:00
weibo: # your WeiBo URL
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
# ---------------------------------------------------------------------------------------
# Navigation menu
# ---------------------------------------------------------------------------------------
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
# ......
# ---------------------------------------------------------------------------------------
# Home page article block display settings
# ---------------------------------------------------------------------------------------
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
# ---------------------------------------------------------------------------------------
# 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
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" ]
# ---------------------------------------------------------------------------------------
# Code copy
# ---------------------------------------------------------------------------------------
code_copy:
enable: false
style: default # values: default | mac
# ---------------------------------------------------------------------------------------
# Table of Contents in the Sidebar
# ---------------------------------------------------------------------------------------
toc:
enable: false
2020-04-30 12:24:57 +08:00
# Automatically add list number to toc.
number: 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
2020-04-30 12:24:57 +08:00
# If true, open TOC every time when you enter the article page
init_open: false
# ---------------------------------------------------------------------------------------
# Post copyright info
# ---------------------------------------------------------------------------------------
copyright_info:
enable: 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
site_uv: false
site_pv: false
page_pv: false
2020-09-03 12:27:16 +08:00
# ---------------------------------------------------------------------------------------
# Local Search
# Dependencies: hexo-generator-searchdb
# See: https://github.com/theme-next/hexo-generator-searchdb
# ---------------------------------------------------------------------------------------
local_search:
enable: false
preload: false # Preload the search data when the page loads
2020-04-30 12:24:57 +08:00
# ---------------------------------------------------------------------------------------
# Comment plugin
# ---------------------------------------------------------------------------------------
comment:
enable: false
use: valine # values: valine | gitalk | twikoo
# 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
# 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
# ---------------------------------------------------------------------------------------
# RSS
# Dependencies: hexo-generator-feed
# See: https://github.com/hexojs/hexo-generator-feed
# ---------------------------------------------------------------------------------------
rss:
enable: 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
2020-11-18 12:24:39 +08:00
# ---------------------------------------------------------------------------------------
# CDN
2020-11-18 12:24:39 +08:00
# ---------------------------------------------------------------------------------------
cdn:
enable: false
2020-11-24 10:52:54 +08:00
# ---------------------------------------------------------------------------------------
# PJAX
2020-11-24 10:52:54 +08:00
# ---------------------------------------------------------------------------------------
pjax:
enable: 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
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