diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index ed4b6be..d68490b 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,7 +1,7 @@ name: npm publish on: - pull_request: + push: branches: - master diff --git a/README.md b/README.md index 2efeb3a..f78bd67 100644 --- a/README.md +++ b/README.md @@ -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. - + ## :sparkling_heart: Thanks diff --git a/_config.yml b/_config.yml index 254d8a1..147a906 100644 --- a/_config.yml +++ b/_config.yml @@ -1,5 +1,5 @@ ## ====================================================================================== -## Keep v3.5.0 +## Keep v3.5.1 ## Repository: https://github.com/XPoet/hexo-theme-keep ## Document: https://keep-docs.xpoet.cn ## ====================================================================================== @@ -15,7 +15,7 @@ base_info: author: Keep Team # Your blog website url - url: https://keep.xpoet.cn/ + url: https://xpoet.cn/ # --------------------------------------------------------------------------------------- # Theme style settings @@ -44,17 +44,17 @@ style: # Mouse hover style settings 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 + # Shadow effect when the mouse hover. + shadow: false # Option values: true | false + # Scale effect when the mouse hovers. + scale: false # Option values: true | false # First screen style settings first_screen: - enable: false # Option values: true | false + enable: false # Option values: true | false - # Set transparent background for header. Option values: true | false - header_transparent: false + # Set transparent background for header. + header_transparent: false # Option values: true | false # First screen background image (You can use local image or image external link) 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 hitokoto: - enable: false # Option values: true | false + 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 + enable: false # Option values: true | false # Show percent when page scroll percent: - enable: false # Option values: true | false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # Navigation menu @@ -119,19 +119,21 @@ social_contact: # Home page article block display settings # --------------------------------------------------------------------------------------- home_article: + # Show category in home page article block. 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 + # Show tags in home page article block. 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 # --------------------------------------------------------------------------------------- # Post page Settings # --------------------------------------------------------------------------------------- post: - # Image align position in the post, Option values: left | center - img_align: left + # Image align position in the post + img_align: left # Option values: left | center # Post word count # Dependencies: hexo-wordcount (`npm install hexo-wordcount`) @@ -143,11 +145,11 @@ post: # Author label in the post author_label: - enable: true # Option values: true | false + enable: true # Option values: true | false # If true, show Lv1, Lv2, Lv3... # 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 custom_label_list: ["Trainee", "Engineer", "Architect"] @@ -157,31 +159,32 @@ post: # Support code copy and code block collapse # --------------------------------------------------------------------------------------- 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 + # Toolbar include: "code copy", "code block collapse" and "code language" + tools: + 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 + enable: false # Option values: true | false # 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. - 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 - init_open: false # Option values: true | false + init_open: false # Option values: true | false # --------------------------------------------------------------------------------------- # Post copyright info # --------------------------------------------------------------------------------------- copyright_info: - enable: false # Option values: true | false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # Website count @@ -190,10 +193,10 @@ 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 + 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 @@ -201,15 +204,15 @@ website_count: # 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 + enable: false # Option values: true | false + preload: false # Preload the search data when the page loads. Option values: true | false # --------------------------------------------------------------------------------------- # Comment plugin # --------------------------------------------------------------------------------------- comment: enable: false # Option values: true | false - use: valine # Option values: valine | gitalk | twikoo + use: valine # Option values: valine | gitalk | twikoo | waline # Valine # See: https://github.com/xCss/Valine @@ -251,13 +254,13 @@ comment: # See: https://github.com/hexojs/hexo-generator-feed # --------------------------------------------------------------------------------------- rss: - enable: false # Option values: true | false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # Lazyload image # --------------------------------------------------------------------------------------- lazyload: - enable: false # Option values: true | false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # CDN diff --git a/docs/README_zh-CN.md b/docs/README_zh-CN.md index 25f6c18..f029961 100644 --- a/docs/README_zh-CN.md +++ b/docs/README_zh-CN.md @@ -85,7 +85,7 @@ $ git pull 这个项目的存在多亏了所有的贡献者。 - + ## :sparkling_heart: 鸣谢 diff --git a/docs/README_zh-TW.md b/docs/README_zh-TW.md index 4e4f0e8..dec6d68 100644 --- a/docs/README_zh-TW.md +++ b/docs/README_zh-TW.md @@ -86,7 +86,7 @@ $ git pull 這個項目的存在多虧了所有的貢獻者。 - + ## :sparkling_heart: 銘謝 diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 9e9615a..6bd53a4 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -30,9 +30,7 @@ const { site_uv: bsz_site_uv, site_pv: bsz_site_pv, enable: bsz_enable } = theme <% } %>
- <%- __('powered_by', 'Hexo') %> | <%- __('theme') %> -   - Keep v3.5.0 + <%- __('powered_by', 'Hexo') %> | <%- __('theme') %> Keep v3.5.1
<% if (f_icp) { %>
diff --git a/package.json b/package.json index 79f6a1b..fe4f344 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hexo-theme-keep", - "version": "3.5.0", + "version": "3.5.1", "private": false, "description": "A simple and elegant theme for Hexo.", "scripts": { diff --git a/source/images/upyun.png b/source/images/upyun.png index 5b6906a..c5a3746 100644 Binary files a/source/images/upyun.png and b/source/images/upyun.png differ