@@ -13,7 +13,7 @@ nav: # Navigation bar logo image logo: display_title: true - display_post_title: true + display_post_title: false # Whether to fix navigation bar fixed: false
我之前的右边侧边栏真的很反人类,我不喜欢,所以我改成了左边:
1 2 3 4 5 6 7 8 9
@@ -294,7 +294,7 @@ aside: button: true mobile: true # Position: left / right - position: right + position: left display: archive: true tag: true
因为我计划是使用自动适配明暗,所以我打开了自动适配:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
@@ -398,12 +398,12 @@ readmode: true darkmode: enable: true # Toggle Button to switch dark/light mode - button: true + button: false # Switch dark/light mode automatically # autoChangeMode: 1 Following System Settings, if the system doesn't support dark mode, it will switch dark mode between 6 pm to 6 am # autoChangeMode: 2 Switch dark mode between 6 pm to 6 am # autoChangeMode: false - autoChangeMode: false + autoChangeMode: 1 # Set the light mode time. The value is between 0 and 24. If not set, the default value is 6 and 18 start: end:
@@ -772,23 +772,23 @@ site_verification: # Theme color for customize # Notice: color value must in double quotes like "#000" or may cause error! -# theme_color: -# enable: true -# main: "#49B1F5" -# paginator: "#00c4b6" -# button_hover: "#FF7242" -# text_selection: "#00c4b6" +theme_color: + enable: true + main: "#58757d" + paginator: "#58757d" + button_hover: "#69838a" + text_selection: "#58757d" # link_color: "#99a9bf" # meta_color: "#858585" # hr_color: "#A4D8FA" # code_foreground: "#F47466" # code_background: "rgba(27, 31, 35, .05)" -# toc_color: "#00c4b6" -# blockquote_padding_color: "#49b1f5" -# blockquote_background_color: "#49b1f5" -# scrollbar_color: "#49b1f5" -# meta_theme_color_light: "ffffff" -# meta_theme_color_dark: "#0d0d0d" + toc_color: "#58757d" + blockquote_padding_color: "#58757d" + blockquote_background_color: "#58757d" + scrollbar_color: "#58757d" + meta_theme_color_light: "#cdd6d8" + meta_theme_color_dark: "#1a2326" # The user interface setting of category and tag page # Choose: index - same as Homepage UI / default - same as archives UI
大多数人都是亮色,默认明暗已经无所谓了,还不如改成亮色:
1 2 3 4 5 6 7 8 9
@@ -821,7 +821,7 @@ preloader: enter_transitions: true # Default display mode - light (default) / dark -display_mode: dark +display_mode: light # Configuration for beautifying the content of the article beautify:
第二步是修改 _config.yml,因为我一直没发现我把网站地址写错了:
1 2 3 4 5 6 7 8 9
@@ -13,7 +13,7 @@ timezone: Asia/Shanghai # URL ## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project' -url: https://xiaoshuangjv123.github.io +url: https://xiashuangjv123.github.io permalink: :year/:month/:day/:title/ permalink_defaults: pretty_urls: