From 6bf4b4387dd55260641e3626b3f1398440a075b0 Mon Sep 17 00:00:00 2001 From: kageru Date: Thu, 2 Apr 2020 15:24:47 +0200 Subject: [PATCH] Small change to writing less code --- src/lesscode.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lesscode.md b/src/lesscode.md index f50b46d..abf522c 100644 --- a/src/lesscode.md +++ b/src/lesscode.md @@ -205,11 +205,15 @@ Since I use nginx to add the header and footer to every page, After some slight adjustments to the old content pages, everything looks as intended. ## Summary -That’s it. I now have a working static page generator for my blog in under 50 lines of shell code. +I now have a working static page generator for my blog in under 50 lines of shell code. It does what I need and only that. The code is (relatively) simple and fully POSIX sh compliant. It’s not built to be super general or reusable, but that wasn’t the goal here. +I am aware that I built this with relatively little regard to dependencies. +Pandoc is huge, and the ripgrep call could be replaced with standard grep. +I know that, but for now, I don’t care. + If you want to take a look at the final result, the code is [on my gitea](https://git.kageru.moe/kageru/mdb). I guess the only question now is: will this new blog give me the motivation to write more?