diff options
author | Suleyman Farajli <suleyman@farajli.net> | 2025-06-26 14:35:38 +0400 |
---|---|---|
committer | Suleyman Farajli <suleyman@farajli.net> | 2025-06-26 14:35:38 +0400 |
commit | efa50f9c915955bf1079925f7713fec93a6d4eb1 (patch) | |
tree | ff123810e5cfaae972d869ddf0e87295c4c266fe /content/posts/site-generators.md | |
parent | ed7ab71f52f49c1113f139c3787533fe4fbfcfa1 (diff) |
Diffstat (limited to 'content/posts/site-generators.md')
-rw-r--r-- | content/posts/site-generators.md | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/content/posts/site-generators.md b/content/posts/site-generators.md new file mode 100644 index 0000000..3ea4c4c --- /dev/null +++ b/content/posts/site-generators.md @@ -0,0 +1,24 @@ +--- +title: "About site generators." +slug: "site-generators" +created: 2025-06-24 +description: "Explaining why I prefer to write my own site generator instead of using frameworks like Hugo." +tags: [Technology] +draft: false +--- + +Hugo is a static website generator. If you were to look at the source code of this very website, +you would see that its layout is also very similar to Hugo, yet it doesn't use it. + +Hugo (and probably other site generators as well) is a little too complex for simple site generation. +You see, site generators like Hugo are designed to work on different websites, use complex directory layouts, +and are bundled with all these fancy features that you probably don't even need. +Of course, That's not a big problem, but I personally find it a little overkill, not elegant, and even ugly. + +Not using Hugo means you would have to write your own site generator from scratch, +because writing plain HTML isn't really an option. Doing that isn't hard, and it has the added benefit of +being built into the repository itself along with all the content, making it way more flexible than Hugo, +and also dependent on less external software. + +Using Hugo is fine, but I would rather use simple shell or Python scripts with +a basic Markdown compiler like [smu](https://github.com/Gottox/smu). |