Just like you, I use github pages for hosting my blog, but I also use a static generator called Pelican[1] to generate its contents (pages and blog posts). Its written in python and open source, although other options like Jekyll and Hugo are also quite popular.
Using a static generator gives structure to your blog content and links, its also easier to maintain a static site compared to any other method.