diff --git a/_config.icarus.yml b/_config.icarus.yml index 395c892..caaf06f 100644 --- a/_config.icarus.yml +++ b/_config.icarus.yml @@ -1,5 +1,5 @@ # Version of the configuration file -version: 5.0.0 +version: 5.1.0 # Icarus theme variant, can be "default" or "cyberpunk" variant: default # Path or URL to the website's logo @@ -142,6 +142,8 @@ article: # https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search/ search: type: insight + # Whether to include pages in the search results + index_pages: true # Comment plugin configurations # https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/ # comment: diff --git a/package.json b/package.json index 613e425..504be92 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "hexo-renderer-marked": "^4.0.0", "hexo-renderer-stylus": "^2.0.0", "hexo-server": "^3.0.0", - "hexo-theme-icarus": "^5.0.1" + "hexo-theme-icarus": "^5.1.0" }, "resolutions": { "stylus": "^0.54.8" diff --git a/source/_posts/demo/comment/Waline.md b/source/_posts/demo/comment/Waline.md index e3e8912..72981a6 100644 --- a/source/_posts/demo/comment/Waline.md +++ b/source/_posts/demo/comment/Waline.md @@ -7,24 +7,26 @@ comment: server_url: https://icarus-waline-comment.vercel.app path: window.location.pathname lang: en-US - visitor: false + locale: + placeholder: Comment here... emoji: - - 'https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo' + - https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo dark: auto meta: - nick - mail - link required_meta: - login: 'enable' + login: enable word_limit: 0 page_size: 10 - upload_image: false - highlight: true - math: false + image_uploader: true + highlighter: true + tex_renderer: + search: + pageview: + comment: copyright: true - locale: - placeholder: 'Comment here...' ---
diff --git a/source/_posts/en/CDN-Providers.md b/source/_posts/en/CDN-Providers.md index 6e23d92..add78f1 100644 --- a/source/_posts/en/CDN-Providers.md +++ b/source/_posts/en/CDN-Providers.md @@ -38,8 +38,6 @@ Currently, Icarus offers the following built-in CDN providers: - jsDelivr (`jsdelivr`) - UNPKG (`unpkg`) - loli.net (`loli`) - - BootCDN (`bootcdn`) - - 75CDN (`75cdn`) - **CDNs for Web Fonts** - Google Fonts (`google`) - loli.net (`loli`) @@ -48,8 +46,6 @@ Currently, Icarus offers the following built-in CDN providers: - **FontAwesome Font Icon CDNs** - FontAwesome 5 (`fontawesome`) - loli.net (`loli`) - - BootCDN (`bootcdn`) - - 75CDN (`75cdn`) The default CDN settings are: diff --git a/source/_posts/en/Comment-Plugins.md b/source/_posts/en/Comment-Plugins.md index 2a8efe8..5e5df6b 100644 --- a/source/_posts/en/Comment-Plugins.md +++ b/source/_posts/en/Comment-Plugins.md @@ -389,6 +389,8 @@ environment before being configured and used by Icarus. comment: type: twikoo env_id: xxxxxxxx + region: ap-guangzhou # Optional + lang: zh-CN # Optional {% endcodeblock %} @@ -516,21 +518,23 @@ services until this issue has been fixed. server_url: https://your-domain.vercel.app path: window.location.pathname # Optional lang: en-US # Optional - visitor: false # Optional + locale: # Optional + placeholder: 'Comment here...' emoji: # Optional - - 'https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo' + - '//unpkg.com/@waline/emojis@1.0.1/weibo' dark: auto # Optional meta: ["nick", "mail", "link"] # Optional required_meta: [] # Optional login: enable # Optional word_limit: 0 # Optional page_size: 10 # Optional - upload_image: false # Optional - highlight: true # Optional - math: false # Optional + image_uploader: false # Optional + highlighter: true # Optional + tex_renderer: false # Optional + search: false # Optional + pageview: false # Optional + comment: false # Optional copyright: true # Optional - locale: # Optional - placeholder: 'Comment here...' {% endcodeblock %} diff --git a/source/_posts/zh-CN/CDN-Providers.md b/source/_posts/zh-CN/CDN-Providers.md index f3a331e..9cb443a 100644 --- a/source/_posts/zh-CN/CDN-Providers.md +++ b/source/_posts/zh-CN/CDN-Providers.md @@ -38,8 +38,6 @@ Icarus为你提供了几种内置的CDN提供商来承载Icaurs所用到的第 - jsDelivr (`jsdelivr`) - UNPKG (`unpkg`) - loli.net (`loli`) - - BootCDN (`bootcdn`) - - 75CDN (`75cdn`) - **Web字体CDN** - Google Fonts (`google`) - loli.net (`loli`) @@ -48,8 +46,6 @@ Icarus为你提供了几种内置的CDN提供商来承载Icaurs所用到的第 - **FontAwesome图标CDN** - FontAwesome 5 (`fontawesome`) - loli.net (`loli`) - - BootCDN (`bootcdn`) - - 75CDN (`75cdn`) 默认的CDN服务提供商配置为: diff --git a/source/_posts/zh-CN/Comment-Plugins.md b/source/_posts/zh-CN/Comment-Plugins.md index 879799b..abebf75 100644 --- a/source/_posts/zh-CN/Comment-Plugins.md +++ b/source/_posts/zh-CN/Comment-Plugins.md @@ -386,6 +386,8 @@ Twikoo是一个基于云函数的自建评论系统。 comment: type: twikoo env_id: xxxxxxxx + region: ap-guangzhou # 可选填 + lang: zh-CN # 可选填 {% endcodeblock %} @@ -509,21 +511,23 @@ IP地址 (