Β· Steve Grice Β· 2 min read
FINALLY! The Blog SSG I've Been Looking For
Iβve tried at least 8 solutions for how to host my tech blog online, and Material for Mkdocs takes the cake. It has everything I need and more, and it all comes working out of the box.
This post is about briefly documenting some of the solutions Iβve tried in the past, along with their pros and cons, and how they compare to Material for Mkdocs.
Getting Started with Material for Mkdocs
It couldnβt be easier to get started. Just do this:
pip install mkdocs-material
mkdir my-site
cd my-site
mkdocs new .
Then apply the Material theme by editing mkdocs.yml
to be:
site_name: My Docs
theme:
name: material
If you want to get started with a blog, you can steal the configuration from the documentation.
Now try out your site:
mkdocs serve
Finally, you can build a static version of your site to host on the internet:
mkdocs build
Past Solutions
This is by no means a comprehensive review, but to give you an idea of how many times Iβve messed with this problem, hereβs a list of other blog solutions Iβve tried out (in no particular order):
- Wordpress (Yikes)
- Ghost
- Docusaurus
- Hugo
- Flutter (an ambitious attempt to build a custom blog)
- Jekyll
- Markdown Sitegen (Another attempt at building a custom blog)
- Custom Next.js site (Again with the DIY blog!)
Code Tour - Current Solution
Check out the video for this part!
Material for Mkdocs - It Just Works
Check out the video for this part!
Side Note: SquidFunk
Check out the video for this part!