mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-06-05 21:01:46 +08:00
breaking change: 增加 macstyle 配置,取消配置 mac / mac light 主題
feat: 可更改文章標題位置 feat: 增加代碼全屏 improvement: 當代碼塊 toolbar 其它功能設為 false 時, 仍能顯示 macstyle improvement: 優化文章標題在左邊時,不同寬度的位置顯示 improvement: 代碼優化
This commit is contained in:
+8
-3
@@ -22,12 +22,16 @@ menu:
|
||||
# Code Blocks (代碼相關)
|
||||
# --------------------------------------
|
||||
|
||||
highlight_theme: light # darker / pale night / light / ocean / mac / mac light / false
|
||||
highlight_theme: light # darker / pale night / light / ocean / false
|
||||
highlight_height_limit: false # unit: px
|
||||
code_word_wrap: false
|
||||
|
||||
# highlight toolbar
|
||||
highlight_theme_macStyle: false # use mac style
|
||||
highlight_copy: true # copy button
|
||||
highlight_lang: true # show the code language
|
||||
highlight_shrink: false # true: shrink the code blocks / false: expand the code blocks | none: expand code blocks and hide the button
|
||||
highlight_height_limit: false # unit: px
|
||||
code_word_wrap: false
|
||||
highlight_fullpage: true # true: add button to toggle full page
|
||||
|
||||
# Social Settings (社交圖標設置)
|
||||
# formal:
|
||||
@@ -108,6 +112,7 @@ post_meta:
|
||||
tags: false # true or false 主頁是否顯示標籤
|
||||
label: true # true or false 顯示描述性文字
|
||||
post:
|
||||
position: left # left or center 文章頁標題位置
|
||||
date_type: both # created or updated or both 文章頁日期是創建日或者更新日或都顯示
|
||||
date_format: date # date/relative 顯示日期還是相對日期
|
||||
categories: true # true or false 文章頁是否顯示分類
|
||||
|
||||
Reference in New Issue
Block a user