hexo主题
【Hexo异常】fatal: in unpopulated submodule '.deploy_git'
今天又重新搞了下hexo,好久不动它居然报了错。
这种情况可以先安装下相关的依赖:
npm install hexo-deployer-git –save
实在不行,就把它删掉,然后重新生成和部署。
rm -rf .deploy_git
hexo g
hexo d
Next之Leancloud访客统计
Error: 阅读次数:Counter not initialized! See more at console err msg.
解决
出现上述之错误,遂查看配置文件之说明
1
|
# Show number of visitors to each article.
|
如上述两个解决办法:
-
安装
hexo-leancloud-counter-security
并设置leancloud
的app_id
和app_key
-
将
security
设置为security: false