35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
---
|
|
title: Building static websites with Drupal
|
|
date: 2025-03-15
|
|
permalink: daily/2025/03/15/tome
|
|
tags:
|
|
- software-development
|
|
- static-websites
|
|
- static-site-generators
|
|
- drupal
|
|
cta: ~
|
|
snippet: |
|
|
Did you know you can build your website locally with Drupal and export it to a static website?
|
|
---
|
|
|
|
Over the last few days, I've written a few emails about static websites and static site generators before I [speak about Sculpin][4] at PHP Thames Valley.
|
|
|
|
They are [easy to build][2] and deploy and [cheap to host][3].
|
|
|
|
As a PHP Developer, I use Sculpin as it uses Symfony components, is extendable by writing my own PHP code and uses Twig for templating.
|
|
|
|
As a Drupal Developer, I like the power of Drupal's out of the box functionality and additional modules like Pathauto and Redirect, but I'd like to deploy it as a static website for it to be faster and more secure.
|
|
|
|
Enter Tome, [a Drupal module to create static websites][0].
|
|
|
|
You build the website the same as you would locally and export the content and files to a static website - the same you would generate with a static site generator like Sculpin or writing the files by hand.
|
|
|
|
Sam Mortenson (the creator of Tome) and I discussed it on [episode 19 of the Beyond Blocks podcast][1].
|
|
|
|
So, if you like Drupal and the benefits of static sites, Tome may be a good solution for you.
|
|
|
|
[0]: https://www.drupal.org/project/tome
|
|
[1]: {{site.url}}/podcast/19-sam-mortenson
|
|
[2]: {{site.url}}/daily/2025/03/12/easy
|
|
[3]: {{site.url}}/daily/2025/03/13/deploy
|
|
[4]: {{site.url}}/presentations/sculpin
|