How to change your git commit date after the facts

Change lastmod for Hugo when lastmod is based on git commit

stackoverflow - re-write git commit time

git filter-branch -f --env-filter \
    'if [ $GIT_COMMIT = 9fb407b47803c201725fd02c1a7406c93e5cad42 ]
         export GIT_AUTHOR_DATE="Sun May 10 00:00:00 2020 +0900"
         export GIT_COMMITTER_DATE="Sun May 10 01:00:00 2020 +0900"

Don’t forget to use –force when pushing upstream.

Hugo Custom Info Boxes

The other day I got my regular summary from GoHugo a discourse site where I am a member. This lead me to an interesting blog, which then lead me to an article on how to add custom info boxes to your site if it is not provided by your theme.

[Read More]

Private Hugo Repo to Public on Github

I was researching ways of moving to Hugo for my site generator. I looked at a few options and as part of this I came a cross a workflow in github that allows me to store my site in a private repo and then publish the site to a public repo without too much fuss.

[Read More]