This is the source code for my personal blog. It is built with Hugo and automatically deployed to GitHub Pages.
Make sure you have Hugo installed on your local machine.
- Clone this repository:
git clone <repository-url>
- Navigate to the project directory:
cd blog - Start the Hugo server:
hugo server
The site will be available at http://localhost:1313/.
To create a new blog post, run the following command:
hugo new posts/my-new-post.mdThis will create a new Markdown file in the content/posts directory. You can then edit this file to add your content.
This project is automatically deployed to GitHub Pages whenever new changes are pushed to the src branch.
There is also a manual deployment script available:
./deploy.shThis script will build the site and push the public directory to the master branch.