ljsdev-ssg

Source code for https://ljs.dev
Log | Files | Refs

commit 6d0fa85081a3f2e1e7b52cd5271b601cad05a87a
parent 4f36611fdb7909f5bc1a1079841844d5a218e20c
Author: Leon <leon@wp2static.com>
Date:   Fri, 23 Aug 2019 14:45:14 +0200

add OBSD content

Diffstat:
Msrc/openbsd/how-openbsd-came-into-my-life.html | 6+++---
Asrc/openbsd/the-lowest-dependency-static-site-generator.html | 23+++++++++++++++++++++++
2 files changed, 26 insertions(+), 3 deletions(-)

diff --git a/src/openbsd/how-openbsd-came-into-my-life.html b/src/openbsd/how-openbsd-came-into-my-life.html @@ -1,13 +1,13 @@ <h1>How OpenBSD came into my life</h1> -<h3> Aug 23, 2019</h3> +<h3>Aug 23, 2019</h3> <p>There I was, half open source proponent, half cash poor housesitter, trying to get some free advertising on the Twitterverse. I had likely been searching for "static hosting" for some threads I might be able to ply my wares (static site generator for WordPress) on.</p> -<p><a href="https://twitter.com/romanzolotarev/status/1048849136932610048">Octber 7, 2018</a>, there's a post by someone with a long, unfamiliar name. Their post contains familiar words, along with new ones, like OpenBSD and acme-client. It's by <a href="https://rgz.ee">@romanzolotarev</a>, talking about hosting a website at <a href="https://openbsd.amsterdam/">OpenBSD Amsterdam</a> for &euro; 60/year and using <a href="https://rgz.ee/ssg.html">SSG</a> to build the site.</p> +<p><a href="https://twitter.com/romanzolotarev/status/1048849136932610048">October 7, 2018</a>, there's a post by someone with a long, unfamiliar name. Their post contains familiar words, along with new ones, like OpenBSD and acme-client. It's by <a href="https://rgz.ee">@romanzolotarev</a>, talking about hosting a website at <a href="https://openbsd.amsterdam/">OpenBSD Amsterdam</a> for &euro; 60/year and using <a href="https://rgz.ee/ssg.html">SSG</a> to build the site.</p> <p>My initial train of thought was still on promoting <a href="https://wp2static.com">WP2Static</a> as a free alternative to paid hosting, so did my usual pitch for those days of hosting a static copy of your WordPress site on <a href="https://netlify.com">Netlify</a>. Roman had some good arguments for self-hosting...</p> -<p>This post comes 10 months later, generated with SSG and hosted on OBSD.ams.</p> +<p>This post comes 10 months later, <a href="/openbsd/the-lowest-dependency-static-site-generator.html">generated with SSG</a> and hosted on OBSD.ams.</p> diff --git a/src/openbsd/the-lowest-dependency-static-site-generator.html b/src/openbsd/the-lowest-dependency-static-site-generator.html @@ -0,0 +1,23 @@ +<h1>Low dependency static site generators</h1> + +<h3>Aug 23, 2019</h3> + +<p>This humble site is generated by a static site generator, <a href="">SSG</a>. It is of a class of static site generators with minimal dependencies. On a clean OpenBSD install, it will just work. To optionally generate content from Markdown files, you can install <i>lowdown(1)</i> from ports.</p> + +<p>The setup for this site opts for plain HTML over Markdown. The dev process looks like this:</p> + +<ul> + <li>work in locally checked out git repo (<a href="https://ljsdevtest.ljs.dev/src/files.html">view source</a>)</li> + <li>commit &amp; push changes</li> + <li>post-receive hook shell script builds site, generates article indices and post-processes HTML</li> + <li>source code is published to <i>httpd(8)</i> web root</li> +</ul> + +<p>Other static site generators aiming to use minimal dependencies/core UNIX utilities are:</p> + +<p>Expose, bashblog, Jenny, SKF, blog.sh, Zodiac</p> + +<p>More on these will be added shortly</p> + + +