diff --git a/source/_daily_emails/2025-03-12.md b/source/_daily_emails/2025-03-12.md new file mode 100644 index 00000000..37d3311e --- /dev/null +++ b/source/_daily_emails/2025-03-12.md @@ -0,0 +1,37 @@ +--- +title: Static website are easy to build +date: 2025-03-12 +permalink: daily/2025/03/12/easy +tags: + - software-development + - static-websites + - static-site-generators + - sculpin +cta: ~ +snippet: | + Static websites are the easiest way to build websites. +--- + +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.