A personal blogging website created to share my thoughts and experiences on software technologies and open source tools.
- Clone the repository
- Run
pre-commit install -f
to install thepre-commit
hooks in the repository - Install hugo using the command:
brew install hugo
- Install the theme submodule using the command:
git submodule update --init --recursive --remote
- Install
pre-commit
extension in your text editor to maintain consistency in formatting. To install, run:brew install pre-commit
and thenpre-commit-install
to update the pre-commit hook in your local repository
To create a new content page run the command
hugo new content content/blog/<your-page-name>.md
To publish the content you will have to
- Set the
draft
key to false in the content page - Push the changes using
git push
command
- Run
pre-commit autoupdate
to fetch and install the latest version of thepre-commit
hooks - To generate a blog page, run
hugo new content blog/<page-name>.md
- To run the server with draft views enabled, run
hugo server -D
- To run the server
hugo server