Jump to the navigation menu

Static websites are easy to build

Static websites are the easiest way to build websites.

You create an index.html file, type some words, open the file in a browser and you'll see the words you entered.

You built a website!

Then you can create any more pages you need and style it with CSS.

This how I built my first website, for a Tae Kwon-Do school I used to train at.

This worked great, but at some point, becomes hard to scale.

What if you want to add a new link to your navigation menu? You'd need to update each HTML page separately.

At this point, I started to learn about PHP and MySQL, and then Drupal.

Static site generators like Sculpin, Jekyll and Hugo also fix this problem.

They allow you to write HTML files with a template language like Twig and use includes, loops and conditions to make your files easier to create and maintain with a language and tools you're familiar with.

It still generates a static website with HTML files, but in a more maintainable way.

As a PHP Developer, I like Sculpin but also like Tome to export a Drupal website to static HTML.

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an certified Drupal Triple Expert with 18 years of experience, a Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.