chore: update theme version and documentation
parent
85a048f9f5
commit
ada18ab317
|
@ -1,5 +1,5 @@
|
||||||
# Version of the configuration file
|
# Version of the configuration file
|
||||||
version: 5.0.0
|
version: 5.1.0
|
||||||
# Icarus theme variant, can be "default" or "cyberpunk"
|
# Icarus theme variant, can be "default" or "cyberpunk"
|
||||||
variant: default
|
variant: default
|
||||||
# Path or URL to the website's logo
|
# Path or URL to the website's logo
|
||||||
|
@ -142,6 +142,8 @@ article:
|
||||||
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search/
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Search/
|
||||||
search:
|
search:
|
||||||
type: insight
|
type: insight
|
||||||
|
# Whether to include pages in the search results
|
||||||
|
index_pages: true
|
||||||
# Comment plugin configurations
|
# Comment plugin configurations
|
||||||
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
|
# https://ppoffice.github.io/hexo-theme-icarus/categories/Plugins/Comment/
|
||||||
# comment:
|
# comment:
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
"hexo-renderer-marked": "^4.0.0",
|
"hexo-renderer-marked": "^4.0.0",
|
||||||
"hexo-renderer-stylus": "^2.0.0",
|
"hexo-renderer-stylus": "^2.0.0",
|
||||||
"hexo-server": "^3.0.0",
|
"hexo-server": "^3.0.0",
|
||||||
"hexo-theme-icarus": "^5.0.1"
|
"hexo-theme-icarus": "^5.1.0"
|
||||||
},
|
},
|
||||||
"resolutions": {
|
"resolutions": {
|
||||||
"stylus": "^0.54.8"
|
"stylus": "^0.54.8"
|
||||||
|
|
|
@ -7,24 +7,26 @@ comment:
|
||||||
server_url: https://icarus-waline-comment.vercel.app
|
server_url: https://icarus-waline-comment.vercel.app
|
||||||
path: window.location.pathname
|
path: window.location.pathname
|
||||||
lang: en-US
|
lang: en-US
|
||||||
visitor: false
|
locale:
|
||||||
|
placeholder: Comment here...
|
||||||
emoji:
|
emoji:
|
||||||
- 'https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo'
|
- https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo
|
||||||
dark: auto
|
dark: auto
|
||||||
meta:
|
meta:
|
||||||
- nick
|
- nick
|
||||||
- mail
|
- mail
|
||||||
- link
|
- link
|
||||||
required_meta:
|
required_meta:
|
||||||
login: 'enable'
|
login: enable
|
||||||
word_limit: 0
|
word_limit: 0
|
||||||
page_size: 10
|
page_size: 10
|
||||||
upload_image: false
|
image_uploader: true
|
||||||
highlight: true
|
highlighter: true
|
||||||
math: false
|
tex_renderer:
|
||||||
|
search:
|
||||||
|
pageview:
|
||||||
|
comment:
|
||||||
copyright: true
|
copyright: true
|
||||||
locale:
|
|
||||||
placeholder: 'Comment here...'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<article class="message message-immersive is-warning">
|
<article class="message message-immersive is-warning">
|
||||||
|
|
|
@ -38,8 +38,6 @@ Currently, Icarus offers the following built-in CDN providers:
|
||||||
- jsDelivr (`jsdelivr`)
|
- jsDelivr (`jsdelivr`)
|
||||||
- UNPKG (`unpkg`)
|
- UNPKG (`unpkg`)
|
||||||
- loli.net (`loli`)
|
- loli.net (`loli`)
|
||||||
- BootCDN (`bootcdn`)
|
|
||||||
- 75CDN (`75cdn`)
|
|
||||||
- **CDNs for Web Fonts**
|
- **CDNs for Web Fonts**
|
||||||
- Google Fonts (`google`)
|
- Google Fonts (`google`)
|
||||||
- loli.net (`loli`)
|
- loli.net (`loli`)
|
||||||
|
@ -48,8 +46,6 @@ Currently, Icarus offers the following built-in CDN providers:
|
||||||
- **FontAwesome Font Icon CDNs**
|
- **FontAwesome Font Icon CDNs**
|
||||||
- FontAwesome 5 (`fontawesome`)
|
- FontAwesome 5 (`fontawesome`)
|
||||||
- loli.net (`loli`)
|
- loli.net (`loli`)
|
||||||
- BootCDN (`bootcdn`)
|
|
||||||
- 75CDN (`75cdn`)
|
|
||||||
|
|
||||||
The default CDN settings are:
|
The default CDN settings are:
|
||||||
|
|
||||||
|
|
|
@ -389,6 +389,8 @@ environment before being configured and used by Icarus.
|
||||||
comment:
|
comment:
|
||||||
type: twikoo
|
type: twikoo
|
||||||
env_id: xxxxxxxx
|
env_id: xxxxxxxx
|
||||||
|
region: ap-guangzhou # Optional
|
||||||
|
lang: zh-CN # Optional
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
|
|
||||||
|
|
||||||
|
@ -516,21 +518,23 @@ services until this issue has been fixed.
|
||||||
server_url: https://your-domain.vercel.app
|
server_url: https://your-domain.vercel.app
|
||||||
path: window.location.pathname # Optional
|
path: window.location.pathname # Optional
|
||||||
lang: en-US # Optional
|
lang: en-US # Optional
|
||||||
visitor: false # Optional
|
locale: # Optional
|
||||||
|
placeholder: 'Comment here...'
|
||||||
emoji: # Optional
|
emoji: # Optional
|
||||||
- 'https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo'
|
- '//unpkg.com/@waline/emojis@1.0.1/weibo'
|
||||||
dark: auto # Optional
|
dark: auto # Optional
|
||||||
meta: ["nick", "mail", "link"] # Optional
|
meta: ["nick", "mail", "link"] # Optional
|
||||||
required_meta: [] # Optional
|
required_meta: [] # Optional
|
||||||
login: enable # Optional
|
login: enable # Optional
|
||||||
word_limit: 0 # Optional
|
word_limit: 0 # Optional
|
||||||
page_size: 10 # Optional
|
page_size: 10 # Optional
|
||||||
upload_image: false # Optional
|
image_uploader: false # Optional
|
||||||
highlight: true # Optional
|
highlighter: true # Optional
|
||||||
math: false # Optional
|
tex_renderer: false # Optional
|
||||||
|
search: false # Optional
|
||||||
|
pageview: false # Optional
|
||||||
|
comment: false # Optional
|
||||||
copyright: true # Optional
|
copyright: true # Optional
|
||||||
locale: # Optional
|
|
||||||
placeholder: 'Comment here...'
|
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -38,8 +38,6 @@ Icarus为你提供了几种内置的CDN提供商来承载Icaurs所用到的第
|
||||||
- jsDelivr (`jsdelivr`)
|
- jsDelivr (`jsdelivr`)
|
||||||
- UNPKG (`unpkg`)
|
- UNPKG (`unpkg`)
|
||||||
- loli.net (`loli`)
|
- loli.net (`loli`)
|
||||||
- BootCDN (`bootcdn`)
|
|
||||||
- 75CDN (`75cdn`)
|
|
||||||
- **Web字体CDN**
|
- **Web字体CDN**
|
||||||
- Google Fonts (`google`)
|
- Google Fonts (`google`)
|
||||||
- loli.net (`loli`)
|
- loli.net (`loli`)
|
||||||
|
@ -48,8 +46,6 @@ Icarus为你提供了几种内置的CDN提供商来承载Icaurs所用到的第
|
||||||
- **FontAwesome图标CDN**
|
- **FontAwesome图标CDN**
|
||||||
- FontAwesome 5 (`fontawesome`)
|
- FontAwesome 5 (`fontawesome`)
|
||||||
- loli.net (`loli`)
|
- loli.net (`loli`)
|
||||||
- BootCDN (`bootcdn`)
|
|
||||||
- 75CDN (`75cdn`)
|
|
||||||
|
|
||||||
默认的CDN服务提供商配置为:
|
默认的CDN服务提供商配置为:
|
||||||
|
|
||||||
|
|
|
@ -386,6 +386,8 @@ Twikoo是一个基于云函数的自建评论系统。
|
||||||
comment:
|
comment:
|
||||||
type: twikoo
|
type: twikoo
|
||||||
env_id: xxxxxxxx
|
env_id: xxxxxxxx
|
||||||
|
region: ap-guangzhou # 可选填
|
||||||
|
lang: zh-CN # 可选填
|
||||||
{% endcodeblock %}
|
{% 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
|
server_url: https://your-domain.vercel.app
|
||||||
path: window.location.pathname # 可选填
|
path: window.location.pathname # 可选填
|
||||||
lang: zh-CN # 可选填
|
lang: zh-CN # 可选填
|
||||||
visitor: false # 可选填
|
locale: # 可选填
|
||||||
|
placeholder: 'Comment here...'
|
||||||
emoji: # 可选填
|
emoji: # 可选填
|
||||||
- 'https://cdn.jsdelivr.net/gh/walinejs/emojis/weibo'
|
- '//unpkg.com/@waline/emojis@1.0.1/weibo'
|
||||||
dark: auto # 可选填
|
dark: auto # 可选填
|
||||||
meta: ["nick", "mail", "link"] # 可选填
|
meta: ["nick", "mail", "link"] # 可选填
|
||||||
required_meta: [] # 可选填
|
required_meta: [] # 可选填
|
||||||
login: enable # 可选填
|
login: enable # 可选填
|
||||||
word_limit: 0 # 可选填
|
word_limit: 0 # 可选填
|
||||||
page_size: 10 # 可选填
|
page_size: 10 # 可选填
|
||||||
upload_image: false # 可选填
|
image_uploader: false # 可选填
|
||||||
highlight: true # 可选填
|
highlighter: true # 可选填
|
||||||
math: false # 可选填
|
tex_renderer: false # 可选填
|
||||||
|
search: false # 可选填
|
||||||
|
pageview: false # 可选填
|
||||||
|
comment: false # 可选填
|
||||||
copyright: true # 可选填
|
copyright: true # 可选填
|
||||||
locale: # 可选填
|
|
||||||
placeholder: 'Comment here...'
|
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,9 @@ widgets:
|
||||||
-
|
-
|
||||||
position: left
|
position: left
|
||||||
type: tags
|
type: tags
|
||||||
|
order_by: -name
|
||||||
|
amount:
|
||||||
|
show_count: false
|
||||||
-
|
-
|
||||||
position: left
|
position: left
|
||||||
type: followit
|
type: followit
|
||||||
|
|
Loading…
Reference in New Issue