关于游乐场照片博文列表

Hexxo World

ShiftWatchOut,前端

Hexxo World

第一步:本地安装 Hexo

安装命令: npm install hexo -g

初始化:

hexo init blog cd blog npm install hexo s

第二步:推送至 Github Pages

设置根目录 _config.yml

deploy: type: git repository: https://github.com/ShiftWatchOut/shiftwatchout.github.io.git branch: master

第三步:编辑新文章

在博客的根目录下才能运行以下命令,创建新 article hexo new "blog name" 进入source/_posts文件夹编辑blog-name.MD(空格、加号会变短横) 推送代码:hexo g -d

常见错误

  1. ERROR Deployer not found: git:处理方法 npm install hexo-deployer-git --save

参考: Github Pages(三):使用 Hexo 博客生成工具 Mastering Markdown·Github 

2021 - 2026 © ShiftWatchOut.RSS