Skip to content

Repository files navigation

Personal Blog

This is the source code for my personal blog. It is built with Hugo and automatically deployed to GitHub Pages.

Getting Started

Prerequisites

Make sure you have Hugo installed on your local machine.

Running Locally

  1. Clone this repository:
    git clone <repository-url>
  2. Navigate to the project directory:
    cd blog
  3. Start the Hugo server:
    hugo server

The site will be available at http://localhost:1313/.

Creating a New Post

To create a new blog post, run the following command:

hugo new posts/my-new-post.md

This will create a new Markdown file in the content/posts directory. You can then edit this file to add your content.

Deployment

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.sh

This script will build the site and push the public directory to the master branch.

About

My personal blog

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages