hexo-theme-keep/_config.yml

251 lines
8.3 KiB
YAML
Raw Normal View History

# ---------------------------------------------------------------------------------------
# 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
# 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 effect when the mouse hover
shadow: false
# scale effect when the mouse hover
scale: false
2020-11-13 14:43:22 +08:00
2020-11-17 18:37:05 +08:00
# First screen
first_screen:
enable: false
# First screen background image (You can use local image or image external link)
background_img: /images/bg.svg
# First screen description
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
# Page scroll style settings
scroll:
# Show progress bar in top when page scroll
progress_bar:
enable: false
# Show percent when page scroll
percent:
enable: false
2020-11-15 22:06:32 +08:00
# ---------------------------------------------------------------------------------------
# Social contact link
# ---------------------------------------------------------------------------------------
social_contact:
enable: false
links:
github: # Your GitHub URL
weixin: # Your WeChat QR-Code URL
qq: # Your QQ QR-Code URL
weibo: # Your WeiBo URL
zhihu: # Your ZhiHu URL
twitter: # Your Twitter URL
facebook: # Your Facebook URL
email: # Your Email
2020-11-15 22:06:32 +08:00
# ---------------------------------------------------------------------------------------
# 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:
2021-05-17 15:01:47 +08:00
enable: false # show category in home page article block
limit: 3 # max number of categories shown in home page article block
tag:
2021-05-17 15:01:47 +08:00
enable: false # show tags in home page article block
limit: 5 # max number of tags shown in home page article block
# ---------------------------------------------------------------------------------------
# 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
2021-05-17 15:01:47 +08:00
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
2021-05-17 15:01:47 +08:00
auto: true # if true, show Lv1, Lv2, Lv3... , If false, show custom label
# label array item can be one or more
2021-05-17 15:01:47 +08:00
custom_label_list: ["Trainee", "Engineer", "Architect", "CTO", "BOSS"]
# ---------------------------------------------------------------------------------------
# Code copy
# ---------------------------------------------------------------------------------------
code_copy:
enable: false
2021-05-17 15:01:47 +08:00
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
# ---------------------------------------------------------------------------------------
# Local Search
# Dependencies: hexo-generator-searchdb
# See: https://github.com/theme-next/hexo-generator-searchdb
# ---------------------------------------------------------------------------------------
local_search:
enable: false
2021-05-17 15:01:47 +08:00
preload: false # Preload the search data when the page loads
2020-04-30 12:24:57 +08:00
# ---------------------------------------------------------------------------------------
# Comment plugin
# ---------------------------------------------------------------------------------------
comment:
enable: false
2021-05-17 15:01:47 +08:00
use: valine # values: valine | gitalk | twikoo
# Valine
# See: https://github.com/xCss/Valine
valine:
2021-05-17 15:01:47 +08:00
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:
2021-05-17 15:01:47 +08:00
github_id: # GitHub repo owner
github_admins: # GitHub Admins (in Array type), optional.
2021-05-17 15:01:47 +08:00
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:
2021-05-17 15:01:47 +08:00
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, you can custom fill
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)
upyun: # If your site is deployed on upyun, Your can fill the upyun url (Can be null)
2020-11-24 10:52:54 +08:00
# ---------------------------------------------------------------------------------------
# Keep version (Please don't modify)
# ---------------------------------------------------------------------------------------
2021-12-04 21:37:19 +08:00
version: 3.4.5