mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-03 22:22:00 +08:00
1. 修復當valine background 是絕對地址時無法顯示的bug
This commit is contained in:
1 parent
e77ab81941
commit
995fc7cf9d
4 files changed
+8
-12
No files matched your search
@@ -1,3 +1,6 @@
|
||||
if theme.translate && theme.translate.enable
|
||||
script(src=url_for(theme.CDN.translate))
|
||||
|
||||
if (theme.medium_zoom && theme.medium_zoom.enable)
|
||||
script(src=url_for(theme.CDN.medium_zoom))
|
||||
|
||||
@@ -31,12 +34,6 @@ if theme.activate_power_mode.enable
|
||||
POWERMODE.shake = !{shake};
|
||||
document.body.addEventListener('input', POWERMODE);
|
||||
|
||||
if theme.translate && theme.translate.enable
|
||||
script(src=url_for(theme.CDN.translate))
|
||||
|
||||
if is_home()
|
||||
include index-js.pug
|
||||
|
||||
if theme.busuanzi.site_uv || theme.busuanzi.site_pv || theme.busuanzi.page_pv
|
||||
script(async src=url_for(theme.CDN.busuanzi))
|
||||
|
||||
@@ -52,3 +49,6 @@ if theme.click_heart && theme.click_heart.enable
|
||||
|
||||
if theme.ClickShowText && theme.ClickShowText.enable
|
||||
script(src=url_for(theme.CDN.ClickShowText))
|
||||
|
||||
if is_home()
|
||||
include index-js.pug
|
||||
@@ -27,10 +27,6 @@ hexo.extend.filter.register('after_post_render', data => {
|
||||
|
||||
}
|
||||
if (theme.medium_zoom.enable) {
|
||||
images.each((i, o) => {
|
||||
$(o).addClass('mediumZoom')
|
||||
})
|
||||
|
||||
var imgList = $(".justified-gallery img")
|
||||
if (imgList.length) {
|
||||
imgList.each((i, o) => {
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
font-size: .7rem
|
||||
|
||||
if hexo-config('valine.bg')
|
||||
background: url(convert(hexo-config('valine.bg'))) 100% 100% no-repeat
|
||||
background: url(hexo-config('valine.bg')) 100% 100% no-repeat
|
||||
|
||||
.info
|
||||
display: none
|
||||
|
||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user