mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
代码优化
This commit is contained in:
commit
f0588a3967
10 files changed
+70
-9
No files matched your search
+11
-3
@@ -38,10 +38,10 @@ copy:
|
|||||||
|
|
||||||
# social settings (社交圖標設置)
|
# social settings (社交圖標設置)
|
||||||
# formal:
|
# formal:
|
||||||
# icon: link || the description
|
# icon: link || the description || color
|
||||||
social:
|
social:
|
||||||
# fab fa-github: https://github.com/xxxxx || Github
|
# fab fa-github: https://github.com/xxxxx || Github || '#24292e'
|
||||||
# fas fa-envelope: mailto:xxxxxx@gmail.com || Email
|
# fas fa-envelope: mailto:xxxxxx@gmail.com || Email || '#4a7dbe'
|
||||||
|
|
||||||
# search (搜索)
|
# search (搜索)
|
||||||
# see https://butterfly.js.org/posts/ceeb73f/#搜索系統
|
# see https://butterfly.js.org/posts/ceeb73f/#搜索系統
|
||||||
@@ -787,6 +787,13 @@ fancybox: true
|
|||||||
# Tag Plugins settings (標籤外掛)
|
# Tag Plugins settings (標籤外掛)
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
|
# abcjs (樂譜渲染)
|
||||||
|
# See https://github.com/paulrosen/abcjs
|
||||||
|
# ---------------
|
||||||
|
abcjs:
|
||||||
|
enable: false
|
||||||
|
per_page: true
|
||||||
|
|
||||||
# mermaid
|
# mermaid
|
||||||
# see https://github.com/mermaid-js/mermaid
|
# see https://github.com/mermaid-js/mermaid
|
||||||
mermaid:
|
mermaid:
|
||||||
@@ -967,3 +974,4 @@ CDN:
|
|||||||
# artalk_js:
|
# artalk_js:
|
||||||
# artalk_css:
|
# artalk_css:
|
||||||
# busuanzi:
|
# busuanzi:
|
||||||
|
# abcjs_basic_js:
|
||||||
@@ -31,6 +31,8 @@ div
|
|||||||
|
|
||||||
include ./third-party/math/index.pug
|
include ./third-party/math/index.pug
|
||||||
|
|
||||||
|
include ./third-party/abcjs/index.pug
|
||||||
|
|
||||||
if commentsJsLoad
|
if commentsJsLoad
|
||||||
include ./third-party/comments/js.pug
|
include ./third-party/comments/js.pug
|
||||||
|
|
||||||
|
|||||||
@@ -15,7 +15,7 @@
|
|||||||
|
|
||||||
meta(charset='UTF-8')
|
meta(charset='UTF-8')
|
||||||
meta(http-equiv="X-UA-Compatible" content="IE=edge")
|
meta(http-equiv="X-UA-Compatible" content="IE=edge")
|
||||||
meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0,viewport-fit=cover")
|
meta(name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover")
|
||||||
title= tabTitle
|
title= tabTitle
|
||||||
meta(name="author" content=pageAuthor)
|
meta(name="author" content=pageAuthor)
|
||||||
meta(name="copyright" content=pageCopyright)
|
meta(name="copyright" content=pageCopyright)
|
||||||
@@ -66,4 +66,4 @@ include ./head/noscript.pug
|
|||||||
|
|
||||||
!=fragment_cache('injectHeadJs', function(){return inject_head_js()})
|
!=fragment_cache('injectHeadJs', function(){return inject_head_js()})
|
||||||
|
|
||||||
!=fragment_cache('injectHead', function(){return injectHtml(theme.inject.head)})
|
!=fragment_cache('injectHead', function(){return injectHtml(theme.inject.head)})
|
||||||
Loaded 3 of 10 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user