This is the souce code for my personal site.
The tech stack: static Flask site by Frozen-Flask (for building static content) and Flask-FlatPages (for writing pages in Markdown). The static pages can be deployed to Github for hosting. Added github actions.
The github setup: config the branch "gh-pages". It will contain the final files for github page.
Check out the site.
03-25-2016 the csv as the format for post input check the csv_to_md.py However, pay attention, that the created md filename can not contian blanks or the github will not render the page at all. Delete the csv rows after the run? (temporary solution for the constant updates issue by making a copy of the original csv or append to a backup csv. see source code.)
03-17-2020 update the files to Python3. Use absolute import for some of the python files.
11-19-2020 added Github CI Actions:
Works with Python 3.8
$ pip install -r requirements.txt
$ python run.py
$ python freeze.py
Github action is enabled to build the app. So simply Fork, modify, commit, push.
Reference: