aboutsummaryrefslogtreecommitdiff
path: root/content/docs/resources-to-learn-programming/web-development/frontend/static-site-generators/_index.md
blob: 6a59df6c9b6f0df7cb96ae808a613b9fd76d5bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
---
title: Static Site Generators
description: My favourite way of building a website
weight: 2
---

Static site generators let you write a template for the website in HTML and let you write the content of the website in another format (markdown, for example)
and turn it into a HTML page with the given template. 
I love static site generators because they are easy to use and are very fast since all the HTML files are pre-compiled before you can host them on your server.
It's better than writing the whole website in HTML because if you want to change the layout of the website, editing all the pages one-by-one would take a long time.
Whereas in a static site generator, you can just edit the template file and it'll do the job automatically.

For small websites/websites without much/any logic, I recommend using a static site generator. This website is written in Hugo, which is awesome.