hexo
背包Boy
朽木也,穷其一生自雕。心已觉累,没有眼泪。
个人博客:http://lawsan.xyz
展开
-
关于hexo使用gitalk一直报enable错的问题
本来想导出gitalk插件使用gitalk评论,却一直报错themes.valine.enable ;Cannot read property 'enable' of undefined;这个报错缩进一律2个空格解决 hexo主题的_config.yml的配置如下 在这里提示一下配置gitalk的时候不要再前面加空格了,加了空格就会报错的。 ...原创 2020-07-02 10:49:28 · 490 阅读 · 0 评论 -
一次Github+Hexo搭建个人博客的踩坑
起步 安装Node.js、Git node.js直接上官网下载就好。 测试node安装是否是否 node自带npm,一测试就知道npm也有了 Git安装,上官网下载安装就好。 git配置 1.检查SSH keys的设置;如果没有显示“No such file or directory”,说明这是你第一次使用 git; 2. 生成新的 SSH Key:$ ssh-keygen -t rsa -C "邮件地址@youremail.com";ssh-keygen -t rsa -C "Github的注册邮原创 2020-06-30 22:07:57 · 578 阅读 · 0 评论