Wouldn't it be great if you could type out an article on your computer, push a couple of buttons, and have it appear on the web? No clunky page builders, no admin logins, and no mandatory updates. With the right setup for your website, this is possible. I wrote about …

Hey, just wanted to drop this here. It’s a technical follow-up to The Unreasonable Effectiveness of Static Sites which was reasonably popular, and explains the components of a static site’s stack.

I must sound like an old fossil but I just use windows notepad to build any basic sites that don’t need like a shopping cart or anything complex.

A generator can help if you have a bunch of data that you need to convert to some html structure. I know what you are saying though, as little complexity as we can get away with, innit :)

The advantage of static site generators is you have your template and it’s filled by the data for each page. It’s generally very simple and intuitive.

The problem with doing it your way is if you need to change a common element you have to edit every page. Instead of just changing the template.

Markdown to html just works so well as all your pages are structured the same.

I use PHP to generate anything repetitive. With that and CSS it’s pretty easy to make site wide changes.

Create a post

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person’s post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you’re posting long videos try to add in some form of tldr for those who don’t want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



  • 1 user online
  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 1 user / 6 months
  • 1 subscriber
  • 1.21K Posts
  • 17.8K Comments
  • Modlog