- Main page of the blog (lists all the articles)
- Article page
I was thinking of making one HTML file for each post, linking them together using hyperlinks (pointing directly to the HTML files), putting everything in a folder, and dragging and dropping to my Netlify Drop account (https://app.netlify.com/drop).
What are the potential downsides to doing this? Am I really underestimating the value that modern frameworks and libraries provide?
I can recommend Hugo if all you need is the above (and more). It's a single binary to install/run, runs super fast and you only need to learn a couple of template tags for the above.
I'm not keen on Gatsby or Jekyll because they're an order of magnitude slower as far as I know and require you to have a pile of Node and Ruby (respectively) dependencies set up which is an extra headache and stuff that can break.
Every now and then my site that uses Jekyll will break when I push to Netlify because something changed somewhere and it's a massive drag (I know proper containerisation would solve this but this is extra work and expertise required). Hugo is really simple in contrast because you don't have any dependencies to isolate or require a complex build script.
You can customize your own template.
My process to write a new post looks like this:
write a post in markdown compile it to html with hugo rsyn to my shared host.
https://static.guim.co.uk/sys-images/Guardian/Pix/pictures/2...
If in some hypothetical future you've got a sprawling collection of related blog posts and are spending 80% of your time manually gardening links between posts in vim and only 20% of your time thinking about ideas and writing new posts, that could be a prompt to do a second pass and rethink how the blog is organised.
The pagination, TOC and other concerns are real issues, but a couple small scripts to pre-process the posts could handle that. Generate a bunch of HTML and then drag-and-drop.
You can use a json file with article relative urls and build all the links on the client side.
Fancy solutions evolve out of needs or wants. You don't have those needs. Enjoy the simplicity and screaming fast performance of your website.
These days I would recommend a static site generation tool like Hugo.
The modern frameworks would be for reusing components, branding, etc.
If you're looking to access a database or apis.
It's like copy-pasting a function every time instead of #including it