From 728aefa7567ca882dc6c85044587509f1fdd5b8a Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Thu, 19 May 2022 15:34:51 -0500 Subject: Change content --- src/_foot.htm | 3 ++- src/compile.ht | 13 +++++++++++++ src/gcl.ht | 8 ++++++++ src/gcl/index.html | 21 --------------------- tmpl.index.htm | 2 +- 5 files changed, 24 insertions(+), 23 deletions(-) create mode 100644 src/compile.ht create mode 100644 src/gcl.ht delete mode 100644 src/gcl/index.html diff --git a/src/_foot.htm b/src/_foot.htm index 287b2ba..bddc923 100644 --- a/src/_foot.htm +++ b/src/_foot.htm @@ -1,6 +1,7 @@ <footer> $(case "$(title)" in ("") ;; (*) print "<a href=\"./index.html\">back</a>" ;; esac) - <span id="copyright">(C) 2022 C. Duckworth</span> + <span id="copyright">(C) 2022 C. Duckworth</span> under the + <a href="gcl.html">Good Choices License</a>. </footer> </body> </html> diff --git a/src/compile.ht b/src/compile.ht new file mode 100644 index 0000000..5764828 --- /dev/null +++ b/src/compile.ht @@ -0,0 +1,13 @@ +;@@title: Compiling!@@ + +I've been using Emacs to write this site so far, and it has a convenient +<code>M-x compile</code> command that is fun to use. However, I frequently want +to compile from within my src/ directory, and the regular <code>compile</code> +command is pretty dumb. Luckily, there's <code>M-x project-compile</code>, +which knows where the project root is! Great! + +However, the upshot is that I had to create a git repository of this website. +So it's getting ever closer to being available for perusal! Haha. + +I'm wanting to wait until I have a <code>cgit</code> instance on acdw.casa, +and this can be its first repo <code>^_^</code>. diff --git a/src/gcl.ht b/src/gcl.ht new file mode 100644 index 0000000..472c7a1 --- /dev/null +++ b/src/gcl.ht @@ -0,0 +1,8 @@ +;@@title: Good Choices License@@ + +Everyone is permitted to do whatever they like with this software +without limitation. This software comes without any warranty +whatsoever, but with two pieces of advice: + +- Be kind to yourself. +- Make good choices. diff --git a/src/gcl/index.html b/src/gcl/index.html deleted file mode 100644 index 3357702..0000000 --- a/src/gcl/index.html +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html> -<html> - <head> - <meta charset="utf-8"> - <title>Good Choices License</title> - <style> - body{max-width:78ch;padding:2ch;margin:auto;font:24px serif;} - h1{font-size:2em;} - </style> - </head> - <body> - <h1>Good Choices License</h1> - <p>Everyone is permitted to do whatever they like with this software - without limitation. This software comes without any warranty - whatsoever, but with two pieces of advice:</p> - <ul> - <li>Be kind to yourself.</li> - <li>Make good choices.</li> - </ul> - </body> -</html> diff --git a/tmpl.index.htm b/tmpl.index.htm index dc90a4d..427be53 100644 --- a/tmpl.index.htm +++ b/tmpl.index.htm @@ -9,7 +9,7 @@ $(sed 's#$(title)#acdw.casa#' _head.htm) <section id="pages"> <h2>pages here</h2> <ul> - $(set -x;for p in ".tmp"/*.env; do . "$p"; print "<li><a href=\"$HTOUT\">$(title)</a></li>"; done) + $(for p in ".tmp"/*.env; do . "$p"; print "<li><a href=\"$HTOUT\">$(title)</a></li>"; done) </ul> </section> </main> -- cgit 1.4.1-21-gabe81