hexo-config(item) will return empty string '' if item is set as 0 in _config.[theme].yml due to 0 || '' is '' in /lib/renderer.js:line 16
And some themes need the value 0 or errors would occurr.(such as hue in vivia)
coverage: 100.0%. remained the same
when pulling 5a5c6046de70489c972c63d232ef88a85c994a5d on kusurin:repaire-hexo-config
into 560cf83c053d7c453b8f60e26f5b53003ec31bde on hexojs:master.
hexo-config(item)
will return empty string''
ifitem
is set as0
in_config.[theme].yml
due to0 || ''
is''
in /lib/renderer.js:line 16 And some themes need the value0
or errors would occurr.(such ashue
in vivia)