8
8
# Theme Core Configuration Settings
9
9
# See: https://theme-next.js.org/docs/theme-settings/
10
10
# ---------------------------------------------------------------
11
+ # Default: https://github.com/next-theme/hexo-theme-next/blob/master/_config.yml
11
12
12
13
# Allow to cache content generation.
13
14
cache :
@@ -123,12 +124,15 @@ sidebar:
123
124
# position: left
124
125
position : right
125
126
126
- # Manual define the sidebar width. If commented, will be default for:
127
- # Muse | Mist: 320
128
- # Pisces | Gemini: 240
129
- # width: 300
127
+ # Sidebar width.
128
+ # Applicable to Muse | Mist and mobile of Pisces | Gemini.
129
+ width_expanded : 320
130
+ # Applicable to desktop of Pisces | Gemini.
131
+ width_dual_column : 240
130
132
131
- # Sidebar Display (only for Muse | Mist), available values:
133
+ # Sidebar display.
134
+ # Applicable to Muse | Mist and mobile of Pisces | Gemini.
135
+ # Available values:
132
136
# - post expand on posts automatically. Default.
133
137
# - always expand for all pages automatically.
134
138
# - hide expand only when click on the sidebar toggle icon.
@@ -217,20 +221,21 @@ footer:
217
221
color : " #ff0000"
218
222
219
223
# If not defined, `author` from Hexo `_config.yml` will be used.
224
+ # Set to `false` to disable the copyright statement.
220
225
copyright :
221
226
222
227
# Powered by Hexo & NexT
223
228
powered : true
224
229
225
- # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, http ://www. beian.gov.cn
230
+ # Beian ICP and gongan information for Chinese users. See: https://beian.miit.gov.cn, https ://beian.mps .gov.cn
226
231
beian :
227
232
enable : false
228
233
icp :
229
234
# The digit in the num of gongan beian.
230
235
gongan_id :
231
236
# The full num of gongan beian.
232
237
gongan_num :
233
- # The icon for gongan beian. See: http ://www. beian.gov.cn/portal/download
238
+ # The icon for gongan beian. Login and See: https ://beian.mps. gov.cn/web/business/businessHome/website
234
239
gongan_icon_url :
235
240
236
241
@@ -239,7 +244,7 @@ footer:
239
244
# See: https://theme-next.js.org/docs/theme-settings/posts
240
245
# ---------------------------------------------------------------
241
246
242
- # Automatically excerpt description in homepage as preamble text .
247
+ # Use ` description` in front-matter to specify post excerpt .
243
248
excerpt_description : true
244
249
245
250
# Read more button
@@ -374,6 +379,10 @@ codeblock:
374
379
enable : false
375
380
# Available values: default | flat | mac
376
381
style :
382
+ # Fold code block
383
+ fold :
384
+ enable : false
385
+ height : 500
377
386
378
387
back2top :
379
388
enable : true
@@ -620,6 +629,7 @@ quicklink:
620
629
motion :
621
630
enable : true
622
631
async : false
632
+ duration : 200
623
633
transition :
624
634
# All available transition variants: https://theme-next.js.org/animate/
625
635
menu_item : fadeInDown
@@ -744,9 +754,12 @@ isso: # <data_isso>
744
754
# See: https://theme-next.js.org/docs/third-party-services/post-widgets
745
755
# ---------------------------------------------------------------
746
756
747
- # AddThis Share. See: https://www.addthis.com
748
- # Go to https://www.addthis.com/dashboard to customize your tools.
749
- add_this_id :
757
+ # AddToAny Share. See: https://www.addtoany.com
758
+ addtoany :
759
+ enable : false
760
+ buttons :
761
+ - facebook
762
+ - twitter
750
763
751
764
752
765
# ---------------------------------------------------------------
@@ -761,6 +774,8 @@ google_analytics:
761
774
# By default, NexT will load an external gtag.js script on your site.
762
775
# If you only need the pageview feature, set the following option to true to get a better performance.
763
776
only_pageview : false
777
+ # only needed if you are using `only_pageview` mode, https://developers.google.com/analytics/devguides/collection/protocol/ga4
778
+ measure_protocol_api_secret :
764
779
765
780
# Baidu Analytics
766
781
# See: https://tongji.baidu.com
@@ -791,6 +806,7 @@ umami:
791
806
enable : false
792
807
script_url : # https://umami.example.com/script.js
793
808
website_id : # <your website id>
809
+ host_url : # <your umami site url>
794
810
795
811
# Plausible Analytics
796
812
# See: https://plausible.io/
@@ -849,9 +865,6 @@ algolia_search:
849
865
# Dependencies: https://github.com/next-theme/hexo-generator-searchdb
850
866
local_search :
851
867
enable : true
852
- # If auto, trigger search by changing input.
853
- # If manual, trigger search by pressing enter key or search button.
854
- trigger : auto
855
868
# Show top n results per article, show all results by setting to -1
856
869
top_n_per_article : 1
857
870
# Unescape html strings to the readable one.
@@ -869,7 +882,7 @@ local_search:
869
882
# Firstly, you need to enable and configure the chat service.
870
883
chat :
871
884
enable : false
872
- icon : fa fa-comment # Icon name in Font Awesome, set false to disable icon.
885
+ icon : fa fa-comment # Icon name in Font Awesome, set to ` false` to disable icon.
873
886
874
887
# Chatra is a functional, easy to use piece of chat software for websites.
875
888
# For more information: https://chatra.com
@@ -887,12 +900,6 @@ tidio:
887
900
enable : false
888
901
key : # Public Key, get it from dashboard. See: https://www.tidio.com/panel/settings/developer
889
902
890
- # Gitter is a chat and networking platform.
891
- # For more information: https://gitter.im
892
- gitter :
893
- enable : false
894
- room :
895
-
896
903
897
904
# ---------------------------------------------------------------
898
905
# CDN Settings
0 commit comments