breaking change: 增加 macstyle 配置,取消配置 mac / mac light 主題

feat: 可更改文章標題位置
feat: 增加代碼全屏
improvement: 當代碼塊 toolbar 其它功能設為 false 時, 仍能顯示 macstyle
improvement: 優化文章標題在左邊時,不同寬度的位置顯示
improvement: 代碼優化
This commit is contained in:
Jerry
2024-04-29 13:35:18 +08:00
parent ae35499658
commit f74ede6d15
11 changed files with 189 additions and 113 deletions

View File

@@ -7,9 +7,11 @@ hexo.extend.filter.register('before_generate', () => {
},
menu: null,
highlight_theme: 'light',
highlight_theme_macStyle: false,
highlight_copy: true,
highlight_lang: true,
highlight_shrink: false,
highlight_fullpage: true,
highlight_height_limit: false,
code_word_wrap: false,
social: null,
@@ -51,6 +53,7 @@ hexo.extend.filter.register('before_generate', () => {
label: true
},
post: {
position: 'left',
date_type: 'both',
date_format: 'date',
categories: true,