Built using Frozen-Flask.
Original idea from Steven Loria
Run the freeze.py file to compile the .md files into HTML.
Then push to master. This triggers a new build. If something fails, I'll get an email.
Add a title.md file to the project/pages/ directory. This will get read and frozen to HTML when freeze.py is run.
Only .md pages with a date: meta tag will be published.
It's easy to build an external experiment in it's own repository.
This way I can version control this portfolio site separately from the experiment.
Using git's submodule feature, I can include the external folder in the /project directory.
git submodule add https://github.com/phillyc/rivermap.git
Use HTTPS not SSH, or the build will fail. Also, the target repo must be public.
Build a virtualenv.
Run pip install -r requirements.txt
Make code changes inside of /project
Run python freeze.py
from inside the virtualenv.
Push the changes to master.
Things I want to redesign:
-
Make the nav bar float down the page when scrolling.
-
Setup a dark-mode palette with selector switch.