mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
minor adjustments
This commit is contained in:
14
_config.yml
14
_config.yml
@@ -783,6 +783,13 @@ fancybox: true
|
|||||||
# Tag Plugins settings (標籤外掛)
|
# Tag Plugins settings (標籤外掛)
|
||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
|
# abcjs (樂譜渲染)
|
||||||
|
# See https://github.com/paulrosen/abcjs
|
||||||
|
# ---------------
|
||||||
|
abcjs:
|
||||||
|
enable: false
|
||||||
|
per_page: false
|
||||||
|
|
||||||
# mermaid
|
# mermaid
|
||||||
# see https://github.com/mermaid-js/mermaid
|
# see https://github.com/mermaid-js/mermaid
|
||||||
mermaid:
|
mermaid:
|
||||||
@@ -862,13 +869,6 @@ lazyload:
|
|||||||
# favicon_16_16: /pwa/16.png
|
# favicon_16_16: /pwa/16.png
|
||||||
# mask_icon: /pwa/safari-pinned-tab.svg
|
# mask_icon: /pwa/safari-pinned-tab.svg
|
||||||
|
|
||||||
# abcjs (樂譜渲染)
|
|
||||||
# See https://github.com/paulrosen/abcjs
|
|
||||||
# ---------------
|
|
||||||
abcjs:
|
|
||||||
enable: false
|
|
||||||
per_page: false
|
|
||||||
|
|
||||||
# Open graph meta tags
|
# Open graph meta tags
|
||||||
# https://developers.facebook.com/docs/sharing/webmasters/
|
# https://developers.facebook.com/docs/sharing/webmasters/
|
||||||
Open_Graph_meta:
|
Open_Graph_meta:
|
||||||
|
|||||||
@@ -62,11 +62,9 @@ div
|
|||||||
|
|
||||||
!=partial('includes/third-party/search/index', {}, {cache: true})
|
!=partial('includes/third-party/search/index', {}, {cache: true})
|
||||||
|
|
||||||
if theme.abcjs.enable
|
if theme.abcjs && theme.abcjs.enable
|
||||||
if theme.abcjs.per_page
|
if theme.abcjs.per_page
|
||||||
if is_post() || is_page()
|
if is_post() || is_page()
|
||||||
script(src=url_for(theme.asset.abcjs_basic_js))
|
|
||||||
include ./third-party/abcjs.pug
|
include ./third-party/abcjs.pug
|
||||||
else if page.abcjs
|
else if page.abcjs
|
||||||
script(src=url_for(theme.asset.abcjs_basic_js))
|
|
||||||
include ./third-party/abcjs.pug
|
include ./third-party/abcjs.pug
|
||||||
|
|||||||
@@ -210,6 +210,5 @@ docsearch_css:
|
|||||||
version: 3.3.3
|
version: 3.3.3
|
||||||
abcjs_basic_js:
|
abcjs_basic_js:
|
||||||
name: abcjs
|
name: abcjs
|
||||||
other_name: abcjs-basic
|
|
||||||
file: dist/abcjs-basic-min.js
|
file: dist/abcjs-basic-min.js
|
||||||
version: 6.1.9
|
version: 6.1.9
|
||||||
Reference in New Issue
Block a user