diff --git a/templates/default/assets/css/global.css b/templates/default/assets/css/global.css index 9206f26..1dda659 100644 --- a/templates/default/assets/css/global.css +++ b/templates/default/assets/css/global.css @@ -32,7 +32,7 @@ @font-face { font-family: 'fusion-pixel'; - src: url('../../assets/css/webfonts/fusion-pixel-10px-monospaced-zh_hans.woff2') format('woff2'); + src: url('../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fusion-pixel-10px-monospaced-zh_hans.woff2') format('woff2'); font-weight: normal; font-style: normal; } diff --git a/templates/default/assets/css/lib/meplayer.css b/templates/default/assets/css/lib/meplayer.css index 8545cd7..be329db 100644 --- a/templates/default/assets/css/lib/meplayer.css +++ b/templates/default/assets/css/lib/meplayer.css @@ -2,11 +2,11 @@ font-weight: normal; font-style: normal; font-family: 'fontello'; - src: url('../../../assets/css/webfonts/fontello.eot?77128880'); - src: url('../../../assets/css/webfonts/fontello.eot?77128880#iefix') format('embedded-opentype'), - url('../../../assets/css/webfonts/fontello.woff?77128880') format('woff'), - url('../../../assets/css/webfonts/fontello.ttf?77128880') format('truetype'), - url('../../../assets/css/webfonts/fontello.svg?77128880#fontello') format('svg'); + src: url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.eot?77128880'); + src: url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.eot?77128880#iefix') format('embedded-opentype'), + url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.woff?77128880') format('woff'), + url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.ttf?77128880') format('truetype'), + url('../../http://molly-blog.cdn.yvling.cn/assets/css/webfonts/fontello.svg?77128880#fontello') format('svg'); } .meplayer-container { diff --git a/templates/default/assets/js/global.js b/templates/default/assets/js/global.js index b297579..117b80e 100644 --- a/templates/default/assets/js/global.js +++ b/templates/default/assets/js/global.js @@ -40,7 +40,7 @@ function setTheme() { const logo = document.querySelector(".main-logo-img") if (logo !== null) { - logo.style.setProperty("background-image", `url(../assets/img/logo-${theme}-theme.png)`); + logo.style.setProperty("background-image", `url(http://molly-blog.cdn.yvling.cn/assets/img/logo-${theme}-theme.png)`); } } @@ -57,7 +57,7 @@ function replaceCssFile() { const links = document.querySelectorAll('link[rel="stylesheet"]'); for (const link of links) { if (link.href.includes(oldHref)) { - link.href = "../assets/css/lib/" + newHref; + link.href = "http://molly-blog.cdn.yvling.cn/assets/css/lib/" + newHref; break; } } diff --git a/templates/default/assets/js/lib/meplayer.js b/templates/default/assets/js/lib/meplayer.js index e35ab0e..75eaac3 100644 --- a/templates/default/assets/js/lib/meplayer.js +++ b/templates/default/assets/js/lib/meplayer.js @@ -131,7 +131,7 @@ var musicConf = options.music, target = selector.$(options.target) || document.querySelector('.meplayer'), theme = options.theme || _constants.THEME_DEFAULT, hasLrc = !!musicConf.lrc, - coverSrc = musicConf.cover || '../../../assets/img/music.png', loop = musicConf.loop || false, + coverSrc = musicConf.cover || '../../http://molly-blog.cdn.yvling.cn/assets/img/music.png', loop = musicConf.loop || false, autoplay = options.autoplay, currentThemeClass = theme === _constants.THEME_DEFAULT ? 'meplayer-container' : 'meplayer-container-mini', containerClass = currentThemeClass + ' ' + (hasLrc ? 'meplayer-haslrc' : '') + ' meplayer-isloading'; diff --git a/templates/default/html/about.html b/templates/default/html/about.html index fc05fbf..9cb96b4 100644 --- a/templates/default/html/about.html +++ b/templates/default/html/about.html @@ -5,23 +5,18 @@ {{ .site_info.title }} | {{ .about.title }} - - - - - - - - + + + + + + - - - - - - - + + + + {{ if .statistics.enable }} @@ -82,7 +77,7 @@ - + diff --git a/templates/default/html/archive.html b/templates/default/html/archive.html index d9318be..b16d830 100644 --- a/templates/default/html/archive.html +++ b/templates/default/html/archive.html @@ -5,21 +5,16 @@ {{ .site_info.title }} | {{ .history_post.title }} - - - - - - - + + + + + - - - - - - + + + {{ if .statistics.enable }} @@ -121,13 +116,15 @@
- - + +
- - + + diff --git a/templates/default/html/category.html b/templates/default/html/category.html index f793779..7969696 100644 --- a/templates/default/html/category.html +++ b/templates/default/html/category.html @@ -5,21 +5,16 @@ {{ .site_info.title }} - - - - - - - + + + + + - - - - - - + + + {{ if .statistics.enable }} @@ -73,7 +68,7 @@ {{ end }} - + @@ -112,12 +107,14 @@
- - + +
- + diff --git a/templates/default/html/friend.html b/templates/default/html/friend.html index 2dc4f53..15fb5d3 100644 --- a/templates/default/html/friend.html +++ b/templates/default/html/friend.html @@ -5,23 +5,18 @@ {{ .site_info.title }} | {{ .friend.title }} - - - - - - - - + + + + + + - - - - - - - + + + + {{ if .statistics.enable }} @@ -88,12 +83,14 @@
- - + +
- + - - - - - + + + + {{ if .statistics.enable }} @@ -124,13 +119,15 @@
- - + +
- - + + diff --git a/templates/default/html/music.html b/templates/default/html/music.html index 10f5764..5c47469 100644 --- a/templates/default/html/music.html +++ b/templates/default/html/music.html @@ -5,23 +5,18 @@ {{ .site_info.title }} - - - - - - - - + + + + + + - - - - - - - + + + + {{ if .statistics.enable }} @@ -57,7 +52,8 @@
{{ range $i, $v := .music.list }}
-
+
@@ -93,8 +89,8 @@
- - + + diff --git a/templates/default/html/post.html b/templates/default/html/post.html index 3e6355a..88b1117 100644 --- a/templates/default/html/post.html +++ b/templates/default/html/post.html @@ -5,22 +5,17 @@ {{ .site_info.title }} - - - - - - - - + + + + + + - - - - - - + + + {{ if .statistics.enable }} @@ -142,8 +137,8 @@
- - + + diff --git a/templates/default/html/search.html b/templates/default/html/search.html index aadc1d4..15b8f05 100644 --- a/templates/default/html/search.html +++ b/templates/default/html/search.html @@ -5,21 +5,16 @@ {{ .site_info.title }} - - - - - - - + + + + + - - - - - - + + + {{ if .statistics.enable }} @@ -119,13 +114,15 @@
- - + +
- - + + diff --git a/templates/default/html/tag.html b/templates/default/html/tag.html index ceccb11..bd79056 100644 --- a/templates/default/html/tag.html +++ b/templates/default/html/tag.html @@ -5,22 +5,17 @@ {{ .site_info.title }} - - - - - - - + + + + + - - - - - - - + + + + {{ if .statistics.enable }} @@ -103,16 +98,18 @@
- - + +
- + - +