ppoffice / hexo-theme-hueman

A redesign of Alx's wordpress theme Hueman, ported to Hexo.
http://ppoffice.github.io/hexo-theme-hueman/
GNU General Public License v2.0
1.17k stars 336 forks source link

无法生成静态文件 #105

Closed evindu closed 8 years ago

evindu commented 8 years ago

我使用hexo g 就会出错

ERROR Asset render failed: css/style.css
CoercionError: /data/wwwroot/default/themes/hueman/source/css/_variables.styl:38:54
   34| line-height-title = 1.3em
   35|
   36| // Header
   37| logo-url = hexo-config("customize.logo.url")
   38| logo-width = 0px + hexo-config("customize.logo.width")
------------------------------------------------------------^
   39| logo-height = 0px + hexo-config("customize.logo.height")
   40|
   41| // Sidebar

cannot coerce '' to unit
evindu commented 8 years ago

原来是我config.yml文件填错了

ersel commented 8 years ago

if anyone else ends up here: _config.yml file should live under

themes/hueman

not under your hexo root directory

ppoffice commented 8 years ago

@ersel I believe you mean

themes/hueman

ersel commented 8 years ago

yes, you're right @ppoffice updated my reply.

kopitetorres commented 6 years ago

试了好几个主题,都无法生成静态文件,我都怀疑hexo是不是有问题。 原来是配置文件分hexo根目录和主题目录。。。。