diff --git a/_config.next.yml b/_config.next.yml index 9b09697558346..b00a46e1b5756 100644 --- a/_config.next.yml +++ b/_config.next.yml @@ -82,7 +82,7 @@ social: #modify GitHub: https://github.com/PGzxc || fab fa-github CSDN: http://blog.csdn.net/calvin_zhou || fa fa-book 微博: http://weibo.com/5582039920 || fab fa-weibo - 简书: http://www.jianshu.com/u/c5cdcb4dc52b || fa fa-book + 简书: http://www.jianshu.com/u/c5cdcb4dc52b || fa fa-heartbeat #GitHub: https://github.com/next-theme || fab fa-github #E-Mail: mailto:support@theme-next.org || fa fa-envelope #RSS: /atom.xml || fa fa-rss @@ -162,6 +162,25 @@ github_banner: permalink: https://github.com/PGzxc/PGzxc.github.io #modify title: Fork Me on GitHub +# ============================================================= # +# ============================ 统计 =========================== # +# ============================================================= # + +leancloud_visitors: #827489398@qq.com 未实名认证,不可用 + enable: false + app_id: xoStNXjq2xNoDRjTltoOztdq-gzGzoHsz + app_key: 6g89MPFNvTH2YHnKMAK1n1V8 + server_url: # + security: true + +busuanzi_count: + enable: false + total_visitors: false + total_visitors_icon: fa fa-user + total_views: false + total_views_icon: fa fa-eye + post_views: false + post_views_icon: fa fa-eye # ============================================================= # # ======================= SEO Settings ======================== # @@ -171,7 +190,7 @@ index_with_subtitle: true exturl: true -google_site_verification: 5AUIVYTbHIAuz-eQtxSfZbWW5eg9_EVZMSQycIuXrG0 +google_site_verification: # ============================================================= # @@ -224,7 +243,7 @@ valine: # ============================================================= # google_analytics: - tracking_id: UA-108155018-3 + tracking_id: # ============================================================= # diff --git a/_config.yml b/_config.yml index 6cec32a12719e..5ad0c92d43848 100644 --- a/_config.yml +++ b/_config.yml @@ -33,7 +33,6 @@ public_dir: public tag_dir: tags archive_dir: archives/ category_dir: categories -link_dir: links #add code_dir: downloads/code i18n_dir: :lang skip_render: @@ -69,7 +68,6 @@ index_generator: default_category: uncategorized category_map: tag_map: -link_map: #add 2020-10-29 # Date / Time format date_format: YYYY-MM-DD @@ -101,6 +99,16 @@ search: path: search.json field: all +#symbols count +symbols_count_time: + symbols: false + time: true + total_symbols: false + total_time: false + exclude_codeblock: false + awl: 4 + wpm: 275 + suffix: "mins." # Security encrypt: # hexo-blog-encrypt diff --git a/lib/update.js b/lib/update.js index 2a4f161511a11..0a1b314f08dcc 100644 --- a/lib/update.js +++ b/lib/update.js @@ -43,6 +43,7 @@ date: ${time} --- ${body} +[Detailed changes for NexT v${version}](https://github.com/next-theme/hexo-theme-next/releases/tag/v${version}) `; fs.writeFileSync(filename, content); }); diff --git a/package.json b/package.json index fbef104ea5880..ca00d0e7b0824 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "theme-next-docs", - "version": "8.0.1", + "version": "8.0.2", "private": true, "hexo": { "version": "5.2.0" @@ -41,7 +41,8 @@ "hexo-renderer-marked": "3.3.0", "hexo-renderer-stylus": "2.0.1", "hexo-server": "2.0.0", - "hexo-theme-next": "8.0.1" + "hexo-symbols-count-time": "^0.7.1", + "hexo-theme-next": "8.0.2" }, "devDependencies": { "eslint": "^7.6.0"