Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 945 Bytes

README.md

File metadata and controls

46 lines (29 loc) · 945 Bytes

Hexo Blog Template

This is a Hexo template for creating a blog.

Quick Start

To use this template, you need to have Node.js and Hexo installed on your computer.

  1. Clone this repository to your local machine.
git clone https://github.com/CatIsNotFound/Hexo-Blog-Template.git
  1. Install the dependencies.
cd Hexo-Blog-Template
npm install
  1. Run the Hexo server.
npx hexo server
  1. Open your web browser and go to http://localhost:4000 to view the blog.

Quick Deploy

If you want to deploy your blog to your github pages, you should follow the steps below:

  1. Edit the _config.yml file to set the deploy section.
deploy:
  type: git
  repo: https://github.com/<username>/<username>.github.io.git
  branch: main
  1. If you are in the root directory, Run the .scripts/deploy.sh script to deploy your blog.

This command will push the generated files to your github pages repository.