Small change to writing less code

This commit is contained in:
kageru 2020-04-02 15:24:47 +02:00
parent 952bcf9d85
commit 6bf4b4387d
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2

View File

@ -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. After some slight adjustments to the old content pages, everything looks as intended.
## Summary ## 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. It does what I need and only that.
The code is (relatively) simple and fully POSIX sh compliant. 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. 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). 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? I guess the only question now is: will this new blog give me the motivation to write more?