What does HackerNews think of makesite?
Simple, lightweight, and magic-free static site/blog generator for Python coders
I have ported this to go for myself. Works really well for my use.
Indeed! For example, https://github.com/sunainapai/makesite is a simple and lightweight static site generator written in Python. It can be customized easily by modifying the Python source code and adapting it to one's needs. I like that when I need a new feature, I can add it quite easily by writing a few Python functions. It is meant to be programmer-friendly.
Disclosure: My wife wrote this project. I am just a happy user of the project.
Maybe a few lines of code and template work would let you add a custom template that would automatically add a folder worth of images.
Find all posts related to "django", select the top 3, pin them as the related posts for all django entries? You'd trade out some uniqueness and slightly increased memory usage to gain speed.
(I just got started blogging and found https://github.com/sunainapai/makesite python static site generator worked well for me. Obviously you're probably a bit far in to switch horses by now.)
Disclosure: My wife developed this project.
Although I don't use Blogger/Blogspot anymore and I render my blog using a static site generator [1], I too write my posts in raw HTML [2].
In the past, the differences in how various tools interpret and render some of the corner case scenarios like nested lists, code blocks or blockquotes nested within lists, etc. caused issues in porting my Markdown files from one system to another. Granted, there is CommonMark now and I think it is a pretty good specification but it is not a standard like HTML5 is. I prefer standards, so that I know with a reasonable degree of confidence that what I write now would look the same 10 years from now.
[1]: https://github.com/sunainapai/makesite (Disclosure: My wife developed this project)
[2]: https://github.com/susam/susam.in/tree/master/content/blog
Add your content to the `content` directory. Then run `python3 makesite.py` to generate the static blog. It writes the generated blog to the `_site` directory. Finally copy this directory to wherever you want to serve your blog from, e.g., GitHub repo with GitHub pages enabled, virtual private server, cloud storage, etc.
It works pretty well out of the box and it is highly customizable too because doing so involves just modifying the existing Python code or writing your own Python code.
Disclaimer: This project has been written by my wife. I use it myself to render my static blog at https://susam.in/.
I started with Blogger (blogspot), then Medium, then Jekyll, then Hugo. Even with self hosted Jekyll/Hugo, I never felt comfortable about the tooling dictating how my directory structure should be.
Now I have my own static site generator written in Python. It is based on https://github.com/sunainapai/makesite that was posted to HN sometime back.
What I like about generating my blog with pure Python is that I can control every aspect of my blog just the way I want it.