Skip to content

Commit bbe7fd7

Browse files
committed
update next
1 parent 8b8a78b commit bbe7fd7

File tree

4 files changed

+399
-268
lines changed

4 files changed

+399
-268
lines changed

_config.next.yml

Lines changed: 60 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ scheme: Muse
4242
#scheme: Gemini
4343

4444
# Dark Mode
45-
darkmode: false
45+
darkmode: true
4646

4747

4848
# ---------------------------------------------------------------
@@ -72,13 +72,26 @@ creative_commons:
7272
# CC licenses are available in 39 languages, you can find the specific and correct abbreviation you need on https://creativecommons.org
7373
language:
7474

75+
# Open graph settings
76+
# See: https://hexo.io/docs/helpers#open-graph
77+
open_graph:
78+
enable: true
79+
options:
80+
#twitter_card: <twitter:card>
81+
#twitter_id: <twitter:creator>
82+
#twitter_site: <twitter:site>
83+
#twitter_image: <twitter:image>
84+
#google_plus: <g+:profile_link>
85+
#fb_admins: <fb:admin_id>
86+
#fb_app_id: <fb:app_id>
87+
7588

7689
# ---------------------------------------------------------------
7790
# Menu Settings
7891
# ---------------------------------------------------------------
7992

8093
# Usage: `Key: /link/ || icon`
81-
# Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-senstive.
94+
# Key is the name of menu item. If the translation for this item is available, the translated text will be loaded, otherwise the Key name will be used. Key is case-sensitive.
8295
# Value before `||` delimiter is the target link, value after `||` delimiter is the name of Font Awesome icon.
8396
# External url should start with http:// or https://
8497
menu:
@@ -179,7 +192,7 @@ links:
179192
大师傅: https://blog.dazhidayong.cn
180193

181194
# Table of Contents in the Sidebar
182-
# Front-matter variable (unsupport wrap expand_all).
195+
# Front-matter variable (nonsupport wrap expand_all).
183196
toc:
184197
enable: true
185198
# Automatically add list number to toc.
@@ -262,7 +275,7 @@ symbols_count_time:
262275
tag_icon: true
263276

264277
# Donate (Sponsor) settings
265-
# Front-matter variable (unsupport animation).
278+
# Front-matter variable (nonsupport animation).
266279
reward_settings:
267280
# If true, a donate button will be displayed in every article by default.
268281
enable: true
@@ -285,17 +298,11 @@ follow_me:
285298
RSS: /atom.xml || fa fa-rss
286299

287300
# Related popular posts
288-
# Dependencies: https://github.com/tea3/hexo-related-popular-posts
301+
# Dependencies: https://github.com/sergeyzwezdin/hexo-related-posts
289302
related_posts:
290303
enable: false
291304
title: # Custom header, leave empty to use the default one
292305
display_in_home: false
293-
params:
294-
maxCount: 5
295-
#PPMixingRate: 0.0
296-
#isDate: false
297-
#isImage: false
298-
#isExcerpt: false
299306

300307
# Post edit
301308
# Easily browse and edit blog source code online.
@@ -316,8 +323,8 @@ post_navigation: left
316323

317324
# TagCloud settings for tags page.
318325
tagcloud:
319-
min: 12 # Minimun font size in px
320-
max: 30 # Maxium font size in px
326+
min: 12 # Minimum font size in px
327+
max: 30 # Maximum font size in px
321328
amount: 200 # Total amount of tags
322329
orderby: name # Order of tags
323330
order: 1 # Sort order
@@ -354,8 +361,10 @@ text_align:
354361
# Reduce padding / margin indents on devices with narrow width.
355362
mobile_layout_economy: true
356363

357-
# Android Chrome header panel color ($brand-bg / $headband-bg => $black-deep).
358-
android_chrome_color: "#222"
364+
# Browser header panel color.
365+
theme_color:
366+
light: "#222"
367+
dark: "#222"
359368

360369
# Override browsers' default behavior.
361370
body_scrollbar:
@@ -368,8 +377,6 @@ codeblock:
368377
# Code Highlight theme
369378
# All available themes: https://theme-next.js.org/highlight/
370379
theme:
371-
# light: default
372-
# dark: tomorrow-night
373380
light: tomorrow-night
374381
dark: tomorrow-night
375382
prism:
@@ -512,7 +519,7 @@ baidu_site_verification:
512519
math:
513520
# Default (false) will load mathjax / katex script on demand.
514521
# That is it only render those page which has `mathjax: true` in front-matter.
515-
# If you set it to true, it will load mathjax / katex srcipt EVERY PAGE.
522+
# If you set it to true, it will load mathjax / katex script EVERY PAGE.
516523
every_page: false
517524

518525
mathjax:
@@ -549,7 +556,7 @@ pangu: false
549556

550557
# Quicklink Support
551558
# For more information: https://getquick.link
552-
# Front-matter variable (unsupport home archive).
559+
# Front-matter variable (nonsupport home archive).
553560
quicklink:
554561
enable: false
555562

@@ -582,7 +589,7 @@ comments:
582589
storage: true
583590
# Lazyload all comment systems.
584591
lazyload: false
585-
# Modify texts or order for any navs, here are some examples.
592+
# Modify texts or order for any naves, here are some examples.
586593
nav:
587594
#disqus:
588595
# text: Load Disqus
@@ -631,7 +638,7 @@ gitalk:
631638
admin_user: # GitHub repo owner and collaborators, only these guys can initialize gitHub issues
632639
distraction_free_mode: true # Facebook-like distraction free mode
633640
# When the official proxy is not available, you can change it to your own proxy address
634-
proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # This is official proxy adress
641+
proxy: https://cors-anywhere.azm.workers.dev/https://github.com/login/oauth/access_token # This is official proxy address
635642
# Gitalk's display language depends on user's browser or system environment
636643
# If you want everyone visiting your site to see a uniform language, you can set a force language value
637644
# Available values: en | es-ES | fr | ru | zh-CN | zh-TW
@@ -694,6 +701,10 @@ growingio_analytics: # <project_id>
694701
# See: https://www.cloudflare.com/web-analytics/
695702
cloudflare_analytics:
696703

704+
# Microsoft Clarity Analytics
705+
# See: https://clarity.microsoft.com/
706+
clarity_analytics: # <project_id>
707+
697708
# Show number of visitors of each article.
698709
# You can visit https://www.leancloud.cn to get AppID and AppKey.
699710
leancloud_visitors:
@@ -810,6 +821,8 @@ note:
810821

811822
# Tabs tag
812823
tabs:
824+
# Make the nav bar of tabs with long content stick to the top.
825+
sticky: false
813826
transition:
814827
tabs: true
815828
labels: true
@@ -827,7 +840,9 @@ pdf:
827840
mermaid:
828841
enable: true
829842
# Available themes: default | dark | forest | neutral
830-
theme: forest
843+
theme:
844+
light: default
845+
dark: dark
831846

832847

833848
# ---------------------------------------------------------------
@@ -849,10 +864,16 @@ motion:
849864
sidebar: fadeInUp
850865

851866
# Progress bar in the top during page loading.
852-
# For more information: https://github.com/rstacruz/nprogress
853-
nprogress:
867+
# For more information: https://github.com/CodeByZach/pace
868+
pace:
854869
enable: true
855-
spinner: true
870+
# All available colors:
871+
# black | blue | green | orange | pink | purple | red | silver | white | yellow
872+
color: blue
873+
# All available themes:
874+
# big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple
875+
# corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal
876+
theme: minimal
856877

857878
# Canvas ribbon
858879
# For more information: https://github.com/hustcc/ribbon.js
@@ -863,103 +884,29 @@ canvas_ribbon:
863884
zIndex: -1 # The display level of the ribbon
864885

865886

866-
#! ==============================================================
867-
#! DO NOT EDIT THE FOLLOWING SETTINGS
868-
#! UNLESS YOU KNOW WHAT YOU ARE DOING
869-
#! See: https://theme-next.js.org/docs/advanced-settings/vendors
870-
#! ==============================================================
887+
# ---------------------------------------------------------------
888+
# CDN Settings
889+
# See: https://theme-next.js.org/docs/advanced-settings/vendors
890+
# ---------------------------------------------------------------
871891

872-
# It's recommended to use the same version as in `_vendors.yml` to avoid potential problems.
873-
# Remember to use the HTTPS protocol of CDN links when you enable HTTPS on your site.
874892
vendors:
875893
# The CDN provider of NexT internal scripts.
876-
# Available values: local | jsdelivr | unpkg | cdnjs
894+
# Available values: local | jsdelivr | unpkg | cdnjs | custom
877895
# Warning: If you are using the latest master branch of NexT, please set `internal: local`
878896
internal: local
879897
# The default CDN provider of third-party plugins.
880-
# Available values: local | jsdelivr | unpkg | cdnjs
898+
# Available values: local | jsdelivr | unpkg | cdnjs | custom
881899
# Dependencies for `plugins: local`: https://github.com/next-theme/plugins
882-
plugins: jsdelivr
883-
884-
# In the following settings, you can specify the CDN link for each plugin.
885-
# If left blank, the default CDN provider set by `plugins` option will be used.
886-
887-
# Anime.js
888-
# For more information: https://animejs.com
889-
anime:
890-
891-
# Font Awesome
892-
# For more information: https://fontawesome.com
893-
fontawesome:
894-
895-
# Prism
896-
prism:
897-
prism_autoloader:
898-
prism_line_numbers:
899-
900-
# MathJax
901-
mathjax:
902-
903-
# KaTeX
904-
katex:
905-
copy_tex_js:
906-
copy_tex_css:
907-
908-
# Pjax
909-
pjax:
910-
911-
# FancyBox
912-
jquery:
913-
fancybox_js:
914-
fancybox_css:
915-
916-
# Medium-zoom
917-
mediumzoom:
918-
919-
# Lazyload
920-
lazyload:
921-
922-
# Pangu
923-
pangu:
924-
925-
# Quicklink
926-
quicklink:
927-
928-
# DisqusJS
929-
disqusjs_js:
930-
disqusjs_css:
931-
932-
# Gitalk
933-
gitalk_js:
934-
gitalk_css:
935-
936-
# Firebase
937-
firebase_app:
938-
firebase_firestore:
939-
940-
# Algolia Search
941-
algolia_search:
942-
instant_search:
943-
944-
# PDF
945-
pdfobject:
946-
947-
# Mermaid
948-
mermaid:
949-
950-
# Animate.css
951-
# Warning: motion won't work with animate.css version 3.2.0 or later
952-
animate_css:
953-
954-
# NProgress.js
955-
nprogress_js:
956-
nprogress_css:
957-
958-
# Canvas ribbon
959-
canvas_ribbon:
900+
plugins: cdnjs
901+
# Custom CDN URL
902+
# For example:
903+
# custom_cdn_url: https://cdn.jsdelivr.net/npm/${npm_name}@${version}/${minified}
904+
# custom_cdn_url: https://cdnjs.cloudflare.com/ajax/libs/${cdnjs_name}/${version}/${cdnjs_file}
905+
custom_cdn_url:
960906

961907
# Assets
962908
# Accelerate delivery of static files using a CDN
909+
# The js option is only valid when vendors.internal is local.
963910
css: css
964911
js: js
965-
images: images
912+
images: images

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,27 @@
99
"server": "hexo server"
1010
},
1111
"hexo": {
12-
"version": "5.4.0"
12+
"version": "6.2.0"
1313
},
1414
"dependencies": {
15-
"hexo": "^5.4.0",
15+
"hexo": "^6.2.0",
1616
"hexo-blog-encrypt": "^3.0.13",
1717
"hexo-deployer-git": "^3.0.0",
1818
"hexo-generator-archive": "^1.0.0",
1919
"hexo-generator-category": "^1.0.0",
2020
"hexo-generator-feed": "^3.0.0",
2121
"hexo-generator-index": "^2.0.0",
22-
"hexo-generator-searchdb": "^1.3.3",
22+
"hexo-generator-searchdb": "^1.4.0",
2323
"hexo-generator-tag": "^1.0.0",
2424
"hexo-leancloud-counter-security": "^1.5.0",
25-
"hexo-renderer-ejs": "^1.0.0",
26-
"hexo-renderer-markdown-it": "^5.0.0",
27-
"hexo-renderer-stylus": "^2.0.0",
28-
"hexo-server": "^2.0.0",
25+
"hexo-renderer-ejs": "^2.0.0",
26+
"hexo-renderer-markdown-it": "^6.0.1",
27+
"hexo-renderer-stylus": "^2.1.0",
28+
"hexo-server": "^3.0.0",
2929
"hexo-symbols-count-time": "^0.7.1",
30-
"hexo-theme-next": "^8.6.1"
30+
"hexo-theme-next": "^8.12.1"
3131
},
3232
"resolutions": {
3333
"stylus": "^0.54.8"
3434
}
35-
}
35+
}

source/_posts/top1.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
title: 重要说明
3+
date: 2022-06-05 06:05:00
4+
categories: Top
5+
tag: [Top]
6+
---
7+
8+
距离上一次更新文章已经过去了 1 年多了,时间可过的真快。原计划将现在的主站点要进行按照领域划分,将平时工作中遇到的、实践的技术整理到对应的领域,方便快速查找,提供一个沉浸式的学习知识体验,但由于个人也是一个懒癌拖更患者,加之在过去的一年工作中处在新领域,学习了很多技术,很多笔记还没有整理完善,因此没有及时更新博客,同时最近也遇到了站点无法正常访问,经过一系列的排查,发现了是由于开源的 CDN 提供方 [jsdelivr](https://github.com/jsdelivr/jsdelivr/issues/18397) 被污染了 DNS,因此不得不先更新站点的基础服务,以便能正常访问
9+
10+
<!-- more -->
11+
12+
> 话说,国内的网络环境真的是一言难尽,不得不说在技术、技术基础设施、技术思想等发展道路上任重道远
13+
14+
对于个人几个主要的站点,规划如下
15+
16+
1. [incoder.org](https://incoder.org): 作为分享生活、感悟、个人状态为主的地方,偶尔汇总某些技术等的综合性文章
17+
2. [backend.incoder.org](https://backend.incoder.org): 记录以 Java 为基础的后端开发生态技术领域
18+
3. [mobile.incoder.org](https://backend.incoder.org): 记录以原生开发为基础的移动端开发生态技术
19+
4. [incoder.app](https://incoder.app): 记录个人开源应用
20+
21+
{% note info %}
22+
后续会迁移本站点部分文章到具体的领域站点
23+
{% endnote %}

0 commit comments

Comments
 (0)