From ed0acef173ae46ff7b8689b896a2913149b7da4e Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Mon, 30 Jan 2023 02:18:52 +0530 Subject: added a 'knowledge base' --- .../frontend/static-site-generators/_index.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 content/docs/resources-to-learn-programming/web-development/frontend/static-site-generators/_index.md (limited to 'content/docs/resources-to-learn-programming/web-development/frontend/static-site-generators/_index.md') diff --git a/content/docs/resources-to-learn-programming/web-development/frontend/static-site-generators/_index.md b/content/docs/resources-to-learn-programming/web-development/frontend/static-site-generators/_index.md new file mode 100644 index 0000000..6a59df6 --- /dev/null +++ b/content/docs/resources-to-learn-programming/web-development/frontend/static-site-generators/_index.md @@ -0,0 +1,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. -- cgit v1.2.3