oliverdavies.uk/content/node.2142e27d-5c96-4c16-9650-dc47b2b85888.yml

92 lines
3.3 KiB
YAML

uuid:
- value: 2142e27d-5c96-4c16-9650-dc47b2b85888
langcode:
- value: en
type:
- target_id: daily_email
target_type: node_type
target_uuid: 8bde1f2f-eef9-4f2d-ae9c-96921f8193d7
revision_timestamp:
- value: '2025-05-11T09:00:00+00:00'
revision_uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
revision_log: { }
status:
- value: true
uid:
- target_type: user
target_uuid: b8966985-d4b2-42a7-a319-2e94ccfbb849
title:
- value: 'Static websites are easy to build'
created:
- value: '2025-03-12T00:00:00+00:00'
changed:
- value: '2025-05-11T09:00:00+00:00'
promote:
- value: false
sticky:
- value: false
default_langcode:
- value: true
revision_translation_affected:
- value: true
path:
- alias: /daily/2025/03/12/easy
langcode: en
body:
- value: |
<p>Static websites are the easiest way to build websites.</p>
<p>You create an index.html file, type some words, open the file in a browser and you'll see the words you entered.</p>
<p>You built a website!</p>
<p>Then you can create any more pages you need and style it with CSS.</p>
<p>This how I built my first website, for a Tae Kwon-Do school I used to train at.</p>
<p>This worked great, but at some point, becomes hard to scale.</p>
<p>What if you want to add a new link to your navigation menu? You'd need to update each HTML page separately.</p>
<p>At this point, I started to learn about PHP and MySQL, and then Drupal.</p>
<p>Static site generators like Sculpin, Jekyll and Hugo also fix this problem.</p>
<p>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.</p>
<p>It still generates a static website with HTML files, but in a more maintainable way.</p>
<p>As a PHP Developer, I like Sculpin but also like Tome to export a Drupal website to static HTML.</p>
format: full_html
processed: |
<p>Static websites are the easiest way to build websites.</p>
<p>You create an index.html file, type some words, open the file in a browser and you'll see the words you entered.</p>
<p>You built a website!</p>
<p>Then you can create any more pages you need and style it with CSS.</p>
<p>This how I built my first website, for a Tae Kwon-Do school I used to train at.</p>
<p>This worked great, but at some point, becomes hard to scale.</p>
<p>What if you want to add a new link to your navigation menu? You'd need to update each HTML page separately.</p>
<p>At this point, I started to learn about PHP and MySQL, and then Drupal.</p>
<p>Static site generators like Sculpin, Jekyll and Hugo also fix this problem.</p>
<p>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.</p>
<p>It still generates a static website with HTML files, but in a more maintainable way.</p>
<p>As a PHP Developer, I like Sculpin but also like Tome to export a Drupal website to static HTML.</p>
summary: null
field_daily_email_cta: { }