From 4ebb97b54642b49fa691606c59ad92c456b5ce13 Mon Sep 17 00:00:00 2001 From: WangShunda Date: Fri, 25 Sep 2015 14:33:47 +0800 Subject: [PATCH] support hexo3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1、解决hexo3中自带高亮的不显示问题 2、修正静态底部作者图片不显示的问题 --- source/css/_base/variable.styl | 4 ++-- source/css/_partial/footer.styl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/css/_base/variable.styl b/source/css/_base/variable.styl index 784b04f..83048a5 100644 --- a/source/css/_base/variable.styl +++ b/source/css/_base/variable.styl @@ -45,10 +45,10 @@ dataURI = hexo-config("dataURI") author-img-data = unquote(hexo-config("author_img_data")) author-img = hexo-config("author_img") ShowGallery = hexo-config("ShowGallery") -root = hexo-config("root") +//root = hexo-config("root") //comment duoshuo = hexo-config("duoshuo.enable") //highlight -highlight = hexo-config("highlight.enable") +//highlight = hexo-config("highlight.enable") diff --git a/source/css/_partial/footer.styl b/source/css/_partial/footer.styl index 572db51..65d7599 100644 --- a/source/css/_partial/footer.styl +++ b/source/css/_partial/footer.styl @@ -34,7 +34,7 @@ footer if dataURI background no-repeat url(author-img-data) left top else - background no-repeat url(root+author-img) left top + background no-repeat url(/+author-img) left top background-size w w border-radius (w/2) transition transform 2s ease-out