- Clone the repo
- Initialize the theme submodule via
git submodule init
- Update the theme submodule via
git submodule update --recursive --remote
- Clone the GitHub Pages website repo (in a separate directory)
- Add a new section to the org-mode file at
content-org/posts.org
- Add a TODO, tag, and properties to the section
- Once finished writing, mark the section as DONE
- Export the section in Emacs using ox-hugo which will create a new Markdown file in the
content/posts
directory
- Run
hugo server -D
to get a development web server to see the changes - Once happy with the changes, run the
hugo
command to generate thepublic
directory - Manually copy-paste contents of the
public
directory into the website repo (samarthkishor.github.io) - Run
git push
to update both the this repo and the actual website