[重构] 将 butterfly 主题从 npm 改为 git submodule 方式引入
This commit is contained in:
parent
cda38d50c5
commit
fe7cb48aaa
4
.gitmodules
vendored
Normal file
4
.gitmodules
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
[submodule "themes/butterfly"]
|
||||
path = themes/butterfly
|
||||
url = https://github.com/jerryc127/hexo-theme-butterfly.git
|
||||
branch = master
|
||||
@ -25,9 +25,15 @@ font:
|
||||
background: "linear-gradient(45deg, #f2f7fa 0%, #e4f0f6 50%, #d9ecf4 100%)"
|
||||
|
||||
# Footer設置
|
||||
footer:
|
||||
nav:
|
||||
owner:
|
||||
enable: true
|
||||
since: 2022
|
||||
footer_custom_text: '<span style="color: #49B1F5;">Hi, welcome to my Xiaowen blog!</span>'
|
||||
footer_bg: true
|
||||
copyright:
|
||||
enable: true
|
||||
version: true
|
||||
custom_text: '<span>Hi, welcome to Xiaowen blog!</span><br>ICP备案号: <a href="https://beian.miit.gov.cn" target="_blank">辽ICP备2025052969号-1</a>'
|
||||
|
||||
# ==================== 動態特效 ====================
|
||||
canvas_fluttering_ribbon:
|
||||
|
||||
@ -19,10 +19,10 @@
|
||||
"hexo-generator-tag": "^2.0.0",
|
||||
"hexo-renderer-ejs": "^2.0.0",
|
||||
"hexo-renderer-marked": "^7.0.0",
|
||||
"hexo-renderer-pug": "^3.0.0",
|
||||
"hexo-renderer-stylus": "^3.0.1",
|
||||
"hexo-server": "^3.0.0",
|
||||
"hexo-tag-aplayer": "^3.0.4",
|
||||
"hexo-theme-butterfly": "^5.5.4",
|
||||
"hexo-wordcount": "^6.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
1
themes/butterfly
Submodule
1
themes/butterfly
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 749cdf669598457900860a3cd248f5d6ed93af4d
|
||||
17
yarn.lock
17
yarn.lock
@ -1290,16 +1290,6 @@ hexo-tag-aplayer@^3.0.4:
|
||||
hexo-util "^0.1.7"
|
||||
meting "^1.2.0"
|
||||
|
||||
hexo-theme-butterfly@^5.5.4:
|
||||
version "5.5.4"
|
||||
resolved "https://registry.npmmirror.com/hexo-theme-butterfly/-/hexo-theme-butterfly-5.5.4.tgz#3377aa617c723e3bb9260eb1a9ed61fb17700b46"
|
||||
integrity sha512-gk953p0P1c8QQHBm6xZAoPsYZuIMWsZR+riwT7By+1ygnEv9ZlEWqFflbZbKiXEJWy8VZhkV63k7SiwyifCkSw==
|
||||
dependencies:
|
||||
hexo-renderer-pug "^3.0.0"
|
||||
hexo-renderer-stylus "^3.0.1"
|
||||
hexo-util "^4.0.0"
|
||||
moment-timezone "^0.6.0"
|
||||
|
||||
hexo-util@^0.1.7:
|
||||
version "0.1.7"
|
||||
resolved "https://registry.npmmirror.com/hexo-util/-/hexo-util-0.1.7.tgz#fdc84e1bf21b19c4c8695424585aa9f13ecd6353"
|
||||
@ -1933,13 +1923,6 @@ moment-timezone@^0.5.46:
|
||||
dependencies:
|
||||
moment "^2.29.4"
|
||||
|
||||
moment-timezone@^0.6.0:
|
||||
version "0.6.1"
|
||||
resolved "https://registry.npmmirror.com/moment-timezone/-/moment-timezone-0.6.1.tgz#c324a71a8285583eb679ced4ba3dcfa53fdce500"
|
||||
integrity sha512-1B9lmAhB9D9/sHaPC1N7wLFEVUoFldxOpOO96lOD1PvJ43vCd0ozDPbu0FEL3++VvawOlDkq8YD373tJmP5JHw==
|
||||
dependencies:
|
||||
moment "^2.29.4"
|
||||
|
||||
moment@^2.10.6, moment@^2.29.4, moment@^2.30.1:
|
||||
version "2.30.1"
|
||||
resolved "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz#f8c91c07b7a786e30c59926df530b4eac96974ae"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user