chore: update theme version and documentation

pull/1299/head
ppoffice 2022-08-20 16:31:54 -04:00
parent 85a048f9f5
commit ada18ab317
No known key found for this signature in database
GPG Key ID: D872802C1F2A16AA
8 changed files with 39 additions and 32 deletions

View File

@ -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:

View File

@ -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"

View File

@ -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...'
---
<article class="message message-immersive is-warning">

View File

@ -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:

View File

@ -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 %}

View File

@ -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服务提供商配置为

View File

@ -386,6 +386,8 @@ Twikoo是一个基于云函数的自建评论系统。
comment:
type: twikoo
env_id: xxxxxxxx
region: ap-guangzhou # 可选填
lang: zh-CN # 可选填
{% endcodeblock %}
@ -509,21 +511,23 @@ IP地址 (<a href="https://github.com/xCss/Valine/issues/336" target="_blank" re
server_url: https://your-domain.vercel.app
path: window.location.pathname # 可选填
lang: zh-CN # 可选填
visitor: false # 可选填
locale: # 可选填
placeholder: 'Comment here...'
emoji: # 可选填
- 'https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo'
- '//unpkg.com/@waline/emojis@1.0.1/weibo'
dark: auto # 可选填
meta: ["nick", "mail", "link"] # 可选填
required_meta: [] # 可选填
login: enable # 可选填
word_limit: 0 # 可选填
page_size: 10 # 可选填
upload_image: false # 可选填
highlight: true # 可选填
math: false # 可选填
image_uploader: false # 可选填
highlighter: true # 可选填
tex_renderer: false # 可选填
search: false # 可选填
pageview: false # 可选填
comment: false # 可选填
copyright: true # 可选填
locale: # 可选填
placeholder: 'Comment here...'
{% endcodeblock %}

View File

@ -30,6 +30,9 @@ widgets:
-
position: left
type: tags
order_by: -name
amount:
show_count: false
-
position: left
type: followit