hexo
鸟哥01
这个作者很懒,什么都没留下…
展开
-
hexo : 无法加载文件 C:\Users\18331\AppData\Roaming\npm\hexo.ps1,因为在此系统上禁止运行脚本。
设置->隐私和安全性->开发者选项->PowerShell,打开执行策略。原创 2023-04-20 20:15:00 · 180 阅读 · 1 评论 -
hexo 每次发布后需要手动在 github page 的 setting 里重新设置自定义域名
解决方法:在source文件夹里将CNAME的内容改为 mydomain.com (其中mydomain.com是你网站的域名)原创 2020-01-30 10:53:49 · 1642 阅读 · 3 评论 -
将hexo博客内容备份到github
1、命令行下进入hexo的根文件夹,比如我的文件夹是niaogesoft.com2、执行 git init3、检查niaogesoft.com/themes目录下的每个子目录,将其中的.git文件夹删除4、git add --add5、git commit -m"任何注释"6、在github新建仓库,比如beke_backup7、git remote add orig...原创 2020-01-28 15:45:28 · 490 阅读 · 0 评论 -
hexo 常见错误
1、执行hexo g遇到错误can not read a block mapping entry; a multiline key may not be an implicit key at line 5, column 1:原因:_config.yml 文件中的配置格式有问题branch: master冒号 和 master之间要有空格...原创 2020-01-24 19:13:54 · 679 阅读 · 0 评论