diff --git a/_config.yml b/_config.yml index c982f3b..1375280 100644 --- a/_config.yml +++ b/_config.yml @@ -2,11 +2,14 @@ # Your basic info # --------------------------------------------------------------------------------------- base_info: + # Your blog website title title: Keep Theme + + # Your blog website author name author: Keep Team + + # Your blog website url url: https://keep.xpoet.cn/ - # Logo image (You can use local image, image external link or don’t fill) - logo_img: # --------------------------------------------------------------------------------------- # Theme style settings @@ -15,57 +18,66 @@ style: # Theme primary color primary_color: "#0066CC" - # Avatar (You can use local image or image external link) - avatar: /images/avatar.svg + # Your blog website logo image + # You can use local image, image external link or don’t fill + logo: /images/logo.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 + # Avatar (You can use local image or image external link) + avatar: /images/avatar.svg - # Left side width + # Left side TOC width (you don't usually have to change it) left_side_width: 260px - # Content area max width + # Content area max width (you don't usually have to change it) content_max_width: 920px - # Mouse hover + # Mouse hover style settings hover: - shadow: false # shadow effect when the mouse hover - scale: false # scale effect when the mouse 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 - # First screen + # First screen style settings first_screen: - enable: false - background_img: /images/bg.svg # You can use local image or image external link + enable: false # Option values: true | false + + # Set transparent background for header. Option values: true | false + header_transparent: false + + # First screen background image (You can use local image or image external link) + background_img: /images/bg.svg + + # First screen description + # You can use the "||" to begin a newline, maximum is two lines. description: Keep writing and Keep loving. - # Scroll style settings - scroll: - progress_bar: - enable: false - percent: - enable: false + # 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: -# --------------------------------------------------------------------------------------- -# 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 + # If enable hitokoto, first screen description is different every time when you enter the site + hitokoto: + 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 + + # Show percent when page scroll + percent: + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # Navigation menu # --------------------------------------------------------------------------------------- +# If you want to enable Categories and Tags, you need to create categories and tags pages +# e.g. `hexo new page categories` or `hexo new page tags` menu: Home: / Archives: /archives @@ -76,63 +88,85 @@ menu: # Changelog: /changelog # ...... +# --------------------------------------------------------------------------------------- +# Social contact link +# --------------------------------------------------------------------------------------- +social_contact: + enable: false # Option values: true | false + links: + github: # Your GitHub URL + weixin: # Your WeChat QR-Code image URL + qq: # Your QQ QR-Code image URL + weibo: # Your WeiBo URL + zhihu: # Your ZhiHu URL + twitter: # Your Twitter URL + facebook: # Your Facebook URL + email: # Your Email + # --------------------------------------------------------------------------------------- # 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 + enable: false # Show category in home page article block. Option values: true | false + 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 + enable: false # Show tags in home page article block. 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 + # Post word count - # Dependencies: hexo-wordcount (npm install hexo-wordcount) + # 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 + enable: false # Option values: true | false + wordcount: false # Word count, one article. Option values: true | false + min2read: false # Time to read, one article. Option values: true | false - # Author label + # Author label in the post 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 + enable: true # Option values: true | false + + # If true, show Lv1, Lv2, Lv3... + # If false, show custom_label_list + auto: true + + # Label array item can be fill one or more custom_label_list: ["Trainee", "Engineer", "Architect", "CTO", "BOSS"] # --------------------------------------------------------------------------------------- # Code copy # --------------------------------------------------------------------------------------- code_copy: - enable: false - style: default # values: default | mac + enable: false # Option values: true | false + style: default # Option values: default | mac # --------------------------------------------------------------------------------------- # Table of Contents in the Sidebar # --------------------------------------------------------------------------------------- toc: - enable: false + enable: false # Option values: true | false # Automatically add list number to toc. - number: 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 + expand_all: false # Option values: true | false # If true, open TOC every time when you enter the article page - init_open: false + init_open: false # Option values: true | false # --------------------------------------------------------------------------------------- # Post copyright info # --------------------------------------------------------------------------------------- copyright_info: - enable: false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # Website count @@ -141,47 +175,49 @@ website_count: # busuanzi # See: http://ibruce.info/2015/04/04/busuanzi/ busuanzi_count: - enable: false - site_uv: false - site_pv: false - page_pv: 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 -# Dependencies: hexo-generator-searchdb +# Dependencies: hexo-generator-searchdb (`npm install 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 + 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 - use: valine # values: valine | gitalk | twikoo + enable: false # Option values: true | false + use: valine # Option 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 + appid: # Your leancloud application appid + appkey: # Your leancloud application appkey + placeholder: # Input box placeholder # 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 + github_id: # GitHub repo owner + github_admins: # GitHub Admins (in Array type), optional. + repository: # Repository name to store issues + client_id: # GitHub Application Client ID + client_secret: # GitHub Application Client Secret # Twikoo # See: https://github.com/imaegoo/twikoo twikoo: - env_id: # Tencent Cloud environment id - region: # environment region. If select Guangzhou, fill in "ap-guangzhou". + 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 # --------------------------------------------------------------------------------------- # RSS @@ -189,35 +225,37 @@ comment: # See: https://github.com/hexojs/hexo-generator-feed # --------------------------------------------------------------------------------------- rss: - enable: false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # Lazyload image # --------------------------------------------------------------------------------------- lazyload: - enable: false + enable: false # Option values: true | false # --------------------------------------------------------------------------------------- # CDN # --------------------------------------------------------------------------------------- cdn: - enable: false + enable: false # Option values: true | false + provider: jsdelivr # Option values: jsdelivr | unpkg # --------------------------------------------------------------------------------------- # PJAX # --------------------------------------------------------------------------------------- pjax: - enable: false + enable: false # Option values: true | 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: # url + 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 # --------------------------------------------------------------------------------------- -# Keep version (Please don't modify) +# Keep version +# Please don't modify # --------------------------------------------------------------------------------------- -version: 3.4.5 +version: 3.4.6 diff --git a/languages/en.yml b/languages/en.yml index 4538175..cbba291 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -7,6 +7,7 @@ page: Page %d recent_posts: Recent Posts share: Share powered_by: "Powered by %s" +footer_upyun: "CDN acceleration and Cloud storage services are provided by %s" theme: Theme rss_feed: RSS Feed category: Category diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index 1245850..30118d8 100644 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -7,6 +7,7 @@ page: 第 %d 页 recent_posts: 最新文章 share: 分享 powered_by: "由 %s 驱动" +footer_upyun: "本站由 %s 提供 CDN 加速和云存储服务" theme: 主题 rss_feed: RSS Feed category: 分类 diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml index a7451f1..c59ea20 100644 --- a/languages/zh-TW.yml +++ b/languages/zh-TW.yml @@ -7,6 +7,7 @@ page: 第 %d 頁 recent_posts: 之前的文章 share: 分享 powered_by: "%s 框架" +footer_upyun: "本站由 %s 提供 CDN 加速和雲存儲服務" theme: 主題 rss_feed: RSS 訂閱 category: 分類 diff --git a/layout/_partial/comment/comment.ejs b/layout/_partial/comment/comment.ejs index 3991a7c..f611c7e 100644 --- a/layout/_partial/comment/comment.ejs +++ b/layout/_partial/comment/comment.ejs @@ -1,7 +1,7 @@