Merge pull request #181 from XPoet/dev

release v3.5.1
This commit is contained in:
指间的诗意 2022-10-21 17:46:32 +08:00 committed by GitHub
commit a8b38688e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 45 additions and 44 deletions

View File

@ -1,7 +1,7 @@
name: npm publish name: npm publish
on: on:
pull_request: push:
branches: branches:
- master - master

View File

@ -86,7 +86,7 @@ We welcome you to join the development of «Keep». Please see [contributing gui
This project exists thanks to all the people who contribute. This project exists thanks to all the people who contribute.
<a href="https://github.com/XPoet/hexo-theme-keep/graphs/contributors"> <a href="https://github.com/XPoet/hexo-theme-keep/graphs/contributors">
<img src="https://opencollective.com/hexo-theme-keep/contributors.svg?width=880"> <img src="https://contrib.rocks/image?repo=XPoet/hexo-theme-keep" />
</a> </a>
## :sparkling_heart: Thanks ## :sparkling_heart: Thanks

View File

@ -1,5 +1,5 @@
## ====================================================================================== ## ======================================================================================
## Keep v3.5.0 ## Keep v3.5.1
## Repository: https://github.com/XPoet/hexo-theme-keep ## Repository: https://github.com/XPoet/hexo-theme-keep
## Document: https://keep-docs.xpoet.cn ## Document: https://keep-docs.xpoet.cn
## ====================================================================================== ## ======================================================================================
@ -15,7 +15,7 @@ base_info:
author: Keep Team author: Keep Team
# Your blog website url # Your blog website url
url: https://keep.xpoet.cn/ url: https://xpoet.cn/
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Theme style settings # Theme style settings
@ -44,17 +44,17 @@ style:
# Mouse hover style settings # Mouse hover style settings
hover: hover:
# Shadow effect when the mouse hover. Option values: true | false # Shadow effect when the mouse hover.
shadow: false shadow: false # Option values: true | false
# Scale effect when the mouse hover. Option values: true | false # Scale effect when the mouse hovers.
scale: false scale: false # Option values: true | false
# First screen style settings # First screen style settings
first_screen: first_screen:
enable: false # Option values: true | false enable: false # Option values: true | false
# Set transparent background for header. Option values: true | false # Set transparent background for header.
header_transparent: false header_transparent: false # Option values: true | false
# First screen background image (You can use local image or image external link) # First screen background image (You can use local image or image external link)
background_img: /images/bg.svg background_img: /images/bg.svg
@ -69,17 +69,17 @@ style:
# If enable hitokoto, first screen description is different every time when you enter the site # If enable hitokoto, first screen description is different every time when you enter the site
hitokoto: hitokoto:
enable: false # Option values: true | false enable: false # Option values: true | false
# Page scroll style settings # Page scroll style settings
scroll: scroll:
# Show progress bar in top when page scroll # Show progress bar in top when page scroll
progress_bar: progress_bar:
enable: false # Option values: true | false enable: false # Option values: true | false
# Show percent when page scroll # Show percent when page scroll
percent: percent:
enable: false # Option values: true | false enable: false # Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Navigation menu # Navigation menu
@ -119,19 +119,21 @@ social_contact:
# Home page article block display settings # Home page article block display settings
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
home_article: home_article:
# Show category in home page article block.
category: category:
enable: false # Show category in home page article block. Option values: true | false enable: false # Option values: true | false
limit: 3 # Max number of categories shown in home page article block limit: 3 # Max number of categories shown in home page article block
# Show tags in home page article block.
tag: tag:
enable: false # Show tags in home page article block. Option values: true | false enable: false # Option values: true | false
limit: 5 # Max number of tags shown in home page article block limit: 5 # Max number of tags shown in home page article block
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Post page Settings # Post page Settings
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
post: post:
# Image align position in the post, Option values: left | center # Image align position in the post
img_align: left img_align: left # Option values: left | center
# Post word count # Post word count
# Dependencies: hexo-wordcount (`npm install hexo-wordcount`) # Dependencies: hexo-wordcount (`npm install hexo-wordcount`)
@ -143,11 +145,11 @@ post:
# Author label in the post # Author label in the post
author_label: author_label:
enable: true # Option values: true | false enable: true # Option values: true | false
# If true, show Lv1, Lv2, Lv3... # If true, show Lv1, Lv2, Lv3...
# If false, show custom_label_list # If false, show custom_label_list
auto: true # Option values: true | false auto: true # Option values: true | false
# Label array item can be fill one or more # Label array item can be fill one or more
custom_label_list: ["Trainee", "Engineer", "Architect"] custom_label_list: ["Trainee", "Engineer", "Architect"]
@ -157,31 +159,32 @@ post:
# Support code copy and code block collapse # Support code copy and code block collapse
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
code_block: code_block:
tools: # Include "code copy", "code block collapse" and "code language" # Toolbar include: "code copy", "code block collapse" and "code language"
enable: false # Option values: true | false tools:
style: default # Option values: default | mac enable: false # Option values: true | false
highlight_theme: default # Option values: default | obsidian style: default # Option values: default | mac
highlight_theme: default # Option values: default | obsidian
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Table of Contents in the Sidebar # Table of Contents in the Sidebar
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
toc: toc:
enable: false # Option values: true | false enable: false # Option values: true | false
# Automatically add list number to toc. # Automatically add list number to toc.
number: false # Option values: true | false number: false # Option values: true | false
# If true, all level of TOC in a post will be displayed, rather than the activated part of it. # 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 expand_all: false # Option values: true | false
# If true, open TOC every time when you enter the article page # If true, open TOC every time when you enter the article page
init_open: false # Option values: true | false init_open: false # Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Post copyright info # Post copyright info
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
copyright_info: copyright_info:
enable: false # Option values: true | false enable: false # Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Website count # Website count
@ -190,10 +193,10 @@ website_count:
# busuanzi # busuanzi
# See: http://ibruce.info/2015/04/04/busuanzi/ # See: http://ibruce.info/2015/04/04/busuanzi/
busuanzi_count: busuanzi_count:
enable: false # Option values: true | false enable: false # Option values: true | false
site_uv: false # Option values: true | false site_uv: false # Option values: true | false
site_pv: false # Option values: true | false site_pv: false # Option values: true | false
page_pv: false # Option values: true | false page_pv: false # Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Local Search # Local Search
@ -201,15 +204,15 @@ website_count:
# See: https://github.com/theme-next/hexo-generator-searchdb # See: https://github.com/theme-next/hexo-generator-searchdb
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
local_search: local_search:
enable: false # Option values: true | false enable: false # Option values: true | false
preload: false # Preload the search data when the page loads. Option values: true | false preload: false # Preload the search data when the page loads. Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Comment plugin # Comment plugin
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
comment: comment:
enable: false # Option values: true | false enable: false # Option values: true | false
use: valine # Option values: valine | gitalk | twikoo use: valine # Option values: valine | gitalk | twikoo | waline
# Valine # Valine
# See: https://github.com/xCss/Valine # See: https://github.com/xCss/Valine
@ -251,13 +254,13 @@ comment:
# See: https://github.com/hexojs/hexo-generator-feed # See: https://github.com/hexojs/hexo-generator-feed
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
rss: rss:
enable: false # Option values: true | false enable: false # Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# Lazyload image # Lazyload image
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
lazyload: lazyload:
enable: false # Option values: true | false enable: false # Option values: true | false
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
# CDN # CDN

View File

@ -85,7 +85,7 @@ $ git pull
这个项目的存在多亏了所有的贡献者。 这个项目的存在多亏了所有的贡献者。
<a href="https://github.com/XPoet/hexo-theme-keep/graphs/contributors"> <a href="https://github.com/XPoet/hexo-theme-keep/graphs/contributors">
<img src="https://opencollective.com/hexo-theme-keep/contributors.svg?width=880"> <img src="https://contrib.rocks/image?repo=XPoet/hexo-theme-keep" />
</a> </a>
## :sparkling_heart: 鸣谢 ## :sparkling_heart: 鸣谢

View File

@ -86,7 +86,7 @@ $ git pull
這個項目的存在多虧了所有的貢獻者。 這個項目的存在多虧了所有的貢獻者。
<a href="https://github.com/XPoet/hexo-theme-keep/graphs/contributors"> <a href="https://github.com/XPoet/hexo-theme-keep/graphs/contributors">
<img src="https://opencollective.com/hexo-theme-keep/contributors.svg?width=880"> <img src="https://contrib.rocks/image?repo=XPoet/hexo-theme-keep" />
</a> </a>
## :sparkling_heart: 銘謝 ## :sparkling_heart: 銘謝

View File

@ -30,9 +30,7 @@ const { site_uv: bsz_site_uv, site_pv: bsz_site_pv, enable: bsz_enable } = theme
</div> </div>
<% } %> <% } %>
<div class="theme-info info-item"> <div class="theme-info info-item">
<%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>&nbsp;|&nbsp;<%- __('theme') %> <%- __('powered_by', '<a target="_blank" href="https://hexo.io">Hexo</a>') %>&nbsp;|&nbsp;<%- __('theme') %>&nbsp;<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v3.5.1</a>
&nbsp;
<a class="theme-version" target="_blank" href="https://github.com/XPoet/hexo-theme-keep">Keep v3.5.0</a>
</div> </div>
<% if (f_icp) { %> <% if (f_icp) { %>
<div class="icp-info info-item"> <div class="icp-info info-item">

View File

@ -1,6 +1,6 @@
{ {
"name": "hexo-theme-keep", "name": "hexo-theme-keep",
"version": "3.5.0", "version": "3.5.1",
"private": false, "private": false,
"description": "A simple and elegant theme for Hexo.", "description": "A simple and elegant theme for Hexo.",
"scripts": { "scripts": {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 4.5 KiB