Re: [dev] mkws(1) - simple static site generator

2020-09-05 Thread Adrian Grigore
Removed stat dependency. I really didn't want to do OS/feature detection so I wrote this: https://mkws.sh/lts.html. On Tue, Sep 1, 2020 at 7:55 PM Adrian Grigore wrote: > > Thanks for your feedback! > > I agree that shell script is sort of a natural fit for templating, you > just take plain

Re: [dev] mkws(1) - simple static site generator

2020-09-01 Thread Adrian Grigore
Thanks for your feedback! I agree that shell script is sort of a natural fit for templating, you just take plain text and massage it into HTML. There are 3rd party solutions for ugc for static sites like https://staticman.net/ which are acceptable. OpenBSD stat is used to generate the timestamp

Re: [dev] mkws(1) - simple static site generator

2020-09-01 Thread Thomas Oltmann
Hi Adrian! I don't have a lot of time right now, so here's a list of my thoughts in no particular order: - I like the general idea. The more I think about it, shell script is sort of a natural fit for templating. However, you should put a disclaimer somewhere warning people to not let

Re: [dev] mkws(1) - simple static site generator

2020-09-01 Thread Thomas Oltmann
Am Di., 1. Sept. 2020 um 10:49 Uhr schrieb Thomas Oltmann : > Take navigation menus as an example. It is my understanding that werc > offers a pre-baked solution for this. > In mkws, if I needed a navigation bar on my pages, what I might do is > I could write a mknav.sh script that scans > through

[dev] mkws(1) - simple static site generator

2020-08-31 Thread Adrian Grigore
Hi all, Can you give me a review for this https://mkws.sh? -- Thank you, Adi, Freelance Developer http://adi.tilde.institute/