From 9a55441c79a811db8d4ca4c028430f1d136c2fe1 Mon Sep 17 00:00:00 2001 From: xaoxuu Date: Mon, 24 Dec 2018 11:30:49 +0800 Subject: [PATCH] update --- _config.yml | 3 ++- layout/_partial/comments.ejs | 2 +- layout/_partial/head.ejs | 4 ++-- layout/_partial/scripts.ejs | 16 ++++++++-------- source/less/_fonts.less | 6 +++--- 5 files changed, 16 insertions(+), 15 deletions(-) diff --git a/_config.yml b/_config.yml index 84c7ae0..e83eacd 100755 --- a/_config.yml +++ b/_config.yml @@ -154,4 +154,5 @@ search: less: compress: true -themecdn: //cdn.jsdelivr.net/gh/xaoxuu/cdn@18.12.26/ +# 主题的CDN地址 +themecdn: //cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@18.12.24/ diff --git a/layout/_partial/comments.ejs b/layout/_partial/comments.ejs index aa6f21e..23ec9bb 100644 --- a/layout/_partial/comments.ejs +++ b/layout/_partial/comments.ejs @@ -37,7 +37,7 @@ - + <% } %> <% } %> <% } %> diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 82d94fd..41bf1f8 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -37,7 +37,7 @@ <% if (config.import && config.import.style == true) { %> - <%- css(theme.themecdn + 'css/hexo-theme-material-x/style.min.css') %> + <%- css(theme.themecdn + 'css/style.min.css') %> <% } else if (config.import && config.import.style && config.import.style.length > 0){ %> <%- css(config.import.style) %> <% } else { %> @@ -46,7 +46,7 @@ <% if (config.import && config.import.fontawesome == true) { %> - <%- css(theme.themecdn + 'fontawesome/5.6.3/css/all.min.css') %> + <%- css('//cdn.jsdelivr.net/gh/xaoxuu/cdn-fontawesome@5.6.3/css/all.min.css') %> <% } else if (config.import && config.import.fontawesome && config.import.fontawesome.length > 0){ %> <%- css(config.import.fontawesome) %> <% } else { %> diff --git a/layout/_partial/scripts.ejs b/layout/_partial/scripts.ejs index 1211e31..317e2fe 100755 --- a/layout/_partial/scripts.ejs +++ b/layout/_partial/scripts.ejs @@ -1,10 +1,10 @@ - - - + + + - + - + +