Skip to content

murphypei/hexo-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hexo-blog

使用 Hexo 模板和 NexT 主题搭建的个人博客主页。

安装

git clone --recursive https://github.com/murphypei/hexo-blog

  • 安装 Nodejs
    • sudo apt install nodejs npm
  • 配置 npm 淘宝库
    • npm config set registry https://registry.npm.taobao.org
    • 验证: npm config get registry
  • 安装插件
    • sudo npm install hexo-cli -g
    • npm install

运行

  • hexo clean && hexo g && hexo s

部署

  • hexo d

常见错误记录

生成错误

  • SyntaxError: ${project_dir}/node_modules/live2d-widget-model-haru/01/package.json: Unexpected end of JSON input
    • 使用 live2d-widget-model-haru,安装完毕后,需要将 node_modules/live2d-widget-model-haru/package.json 复制进 01, 02 两个子文件夹中。
  • WARN No layout: about/index.html
    • 子模块 NexT 主题没有拉下来,需要更新子模块:git submodule update --init --recursive

数学公式和 Markdown 渲染问题

About

基于hexo-NexT的个人博客站点

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages