Skip to content

Commit e91f239

Browse files
committed
升级主题版本
1 parent 297f4d6 commit e91f239

2 files changed

Lines changed: 28 additions & 7 deletions

File tree

_config.fluid.yml

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,23 @@ web_analytics:
282282
# If true, ignore localhost & 127.0.0.1
283283
ignore_local: false
284284

285+
# OpenKounter 计数统计(基于 EdgeOne Pages),可用于 PV UV 展示
286+
# OpenKounter count statistics (based on EdgeOne Pages), which can be used for PV UV display
287+
# See: https://github.com/Mintimate/open-kounter
288+
openkounter:
289+
# OpenKounter API 服务器地址
290+
# OpenKounter API server URL
291+
server_url: https://open-kounter.mintimate.cn
292+
# 统计页面时获取路径的属性,通常使用 window.location.pathname
293+
# Get the attribute of the page path during statistics
294+
path: window.location.pathname
295+
# 开启后不统计本地路径(localhost、127.0.0.1、[::1])
296+
# If true, ignore localhost & 127.0.0.1 & [::1]
297+
ignore_local: false
298+
285299
# Umami Analytics,仅支持自部署。如果要展示 PV UV 需要填写所有配置项,否则只填写 `src` 和 `website_id` 即可
286300
# Umami Analytics, only Self-host support. If you want to display PV UV need to set all config items, otherwise only set 'src' and 'website_id'
287-
# See: https://umami.is/docs/authentication
301+
# See: https://umami.is/docs
288302
umami:
289303
# umami js 文件地址,需要在 umami 后台创建站点后获取
290304
# umami js file url, get after create website in umami
@@ -408,6 +422,10 @@ search:
408422
# 首屏图片的相关配置
409423
# Config of the big image on the first screen
410424
banner:
425+
# 是否开启所有页面的随机头图,仅在页面对应 banner_img 为空时生效,将图片放在 source/img/random/ 目录下
426+
# Enable random banner for all pages, only works when banner_img is empty, put images in the directory `source/img/random/`
427+
random_img: false
428+
411429
# 视差滚动,图片与板块会随着屏幕滚动产生视差效果
412430
# Scrolling parallax
413431
parallax: true
@@ -463,9 +481,9 @@ footer:
463481
statistics:
464482
enable: false
465483

466-
# 统计数据来源,使用 leancloud, umami 需要设置 `web_analytics` 中对应的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常
467-
# Data source. If use leancloud, umami, you need to set the parameter in `web_analytics`
468-
# Options: busuanzi | leancloud | umami
484+
# 统计数据来源,使用 leancloud, umami, openkounter 需要设置 `web_analytics` 中对应的参数;使用 busuanzi 不需要额外设置,但是有时不稳定,另外本地运行时 busuanzi 显示统计数据很大属于正常现象,部署后会正常
485+
# Data source. If use leancloud, umami, openkounter, you need to set the parameter in `web_analytics`
486+
# Options: busuanzi | leancloud | umami | openkounter
469487
source: "leancloud"
470488

471489
# 国内大陆服务器的备案信息
@@ -657,6 +675,9 @@ post:
657675
# Table of contents (TOC) in the sidebar
658676
toc:
659677
enable: true
678+
# 进入文章时是否默认展开全部目录
679+
# Expand all TOC items on enter
680+
expand_all: true
660681

661682
# 置于板块的左侧或右侧
662683
# place in the board
@@ -791,7 +812,7 @@ disqus:
791812
# See: https://github.com/SukkaW/DisqusJS
792813
disqusjs: false
793814
apikey:
794-
- 'KEY1'
815+
- "KEY1"
795816
#- 'KEY2'
796817
api: https://disqus.skk.moe/disqus/
797818
admin:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"hexo-filter-nofollow": "^2.0.2",
1515
"hexo-generator-archive": "^2.0.0",
1616
"hexo-generator-category": "^2.0.0",
17-
"hexo-generator-feed": "^3.0.0",
17+
"hexo-generator-feed": "^4.0.0",
1818
"hexo-generator-index": "^4.0.0",
1919
"hexo-generator-index-pin-top": "^0.2.2",
2020
"hexo-generator-sitemap": "^3.0.1",
@@ -23,7 +23,7 @@
2323
"hexo-renderer-markdown-it": "^7.1.1",
2424
"hexo-renderer-stylus": "^3.0.1",
2525
"hexo-server": "^3.0.0",
26-
"hexo-theme-fluid": "github:fluid-dev/hexo-theme-fluid#master",
26+
"hexo-theme-fluid": "^1.9.9",
2727
"markdown-it-abbr": "^2.0.0",
2828
"markdown-it-cjk-breaks": "^2.0.0",
2929
"markdown-it-container": "^4.0.0",

0 commit comments

Comments
 (0)