mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 14:22:01 +08:00
label 3.8.0
This commit is contained in:
1 parent
829a3dbf32
commit
026a348482
17 files changed
+67
-51
No files matched your search
+1
-1
@@ -746,7 +746,7 @@ fancybox: true
|
|||||||
# --------------------------------------
|
# --------------------------------------
|
||||||
|
|
||||||
# mermaid
|
# mermaid
|
||||||
# see https://github.com/knsv/mermaid
|
# see https://github.com/mermaid-js/mermaid
|
||||||
mermaid:
|
mermaid:
|
||||||
enable: false
|
enable: false
|
||||||
# built-in themes: default/forest/dark/neutral
|
# built-in themes: default/forest/dark/neutral
|
||||||
|
|||||||
@@ -13,8 +13,9 @@
|
|||||||
each item in i.link_list
|
each item in i.link_list
|
||||||
.flink-list-item
|
.flink-list-item
|
||||||
a(href=url_for(item.link) title=item.name target="_blank")
|
a(href=url_for(item.link) title=item.name target="_blank")
|
||||||
|
.flink-item-icon
|
||||||
img(src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt=item.name )
|
img(src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt=item.name )
|
||||||
span.flink-item-name= item.name
|
.flink-item-name= item.name
|
||||||
span.flink-item-desc(title=item.descr)= item.descr
|
.flink-item-desc(title=item.descr)= item.descr
|
||||||
!= page.content
|
!= page.content
|
||||||
|
|
||||||
+1
-1
@@ -4,7 +4,7 @@ link(rel="stylesheet" type="text/css" href=theme.CDN.katex_copytex_css)
|
|||||||
script.
|
script.
|
||||||
(() => {
|
(() => {
|
||||||
document.querySelectorAll('#article-container span.katex-display').forEach(item => {
|
document.querySelectorAll('#article-container span.katex-display').forEach(item => {
|
||||||
btf.wrap(item, 'div', '', 'katex-wrap')
|
btf.wrap(item, 'div', { class: 'katex-wrap'})
|
||||||
})
|
})
|
||||||
})()
|
})()
|
||||||
|
|
||||||
Loaded 3 of 17 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user