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
@ -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`)
@ -157,7 +159,8 @@ 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"
tools:
enable: false # Option values: true | false enable: false # Option values: true | false
style: default # Option values: default | mac style: default # Option values: default | mac
highlight_theme: default # Option values: default | obsidian highlight_theme: default # Option values: default | obsidian
@ -209,7 +212,7 @@ local_search:
# --------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------
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

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