What is this
Is my personal notes, written using with the help of hugo.
Adding Blog Post
- Make sure you have hugo installed, refer to https://gohugo.io/getting-started/installing/
- Clone the Project
git clone https://github.com/icasimpan/quicktasks-mysql.git
- Add a new article to your blog
hugo new posts/your-new-blog-post.md
- Edit your post
- Commit changes to git
git commit "My new awesome post!"
Publish
- Clone the raw blog
git clone https://github.com/icasimpan/quicktasks-mysql.git
- Go inside it
cd quicktasks-mysql
- Get the current "public" from "gh-pages" branch:
git clone --branch gh-pages https://github.com/icasimpan/quicktasks-mysql.git public
- Regenerate
hugo
- Commit changes to git
cd public
git commit "blogpost update"
Hugo version tested: v0.49.2 Theme version used: https://github.com/icasimpan-oss/basics (HEAD: f5338db) as it has fixes not applied yet to upstream https://github.com/arjunkrishnababu96/basics (HEAD: 93d2a49) that I need, as follow: * #8 - css breaks when baseURL is not / * - updated title so it points to correct baseURL