about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-19 15:34:51 -0500
committerCase Duckworth2022-05-19 15:34:51 -0500
commit728aefa7567ca882dc6c85044587509f1fdd5b8a (patch)
treea5e7ea4307a65320225cbdec25bed7e83d29c77c
parentFix building (diff)
downloadhat-trick-728aefa7567ca882dc6c85044587509f1fdd5b8a.tar.gz
hat-trick-728aefa7567ca882dc6c85044587509f1fdd5b8a.zip
Change content
-rw-r--r--src/_foot.htm3
-rw-r--r--src/compile.ht13
-rw-r--r--src/gcl.ht8
-rw-r--r--src/gcl/index.html21
-rw-r--r--tmpl.index.htm2
5 files changed, 24 insertions, 23 deletions
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 @@
1<footer> 1<footer>
2 $(case "$(title)" in ("") ;; (*) print "<a href=\"./index.html\">back</a>" ;; esac) 2 $(case "$(title)" in ("") ;; (*) print "<a href=\"./index.html\">back</a>" ;; esac)
3 <span id="copyright">(C) 2022 C. Duckworth</span> 3 <span id="copyright">(C) 2022 C. Duckworth</span> under the
4 <a href="gcl.html">Good Choices License</a>.
4</footer> 5</footer>
5</body> 6</body>
6</html> 7</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 @@
1;@@title: Compiling!@@
2
3I've been using Emacs to write this site so far, and it has a convenient
4<code>M-x compile</code> command that is fun to use. However, I frequently want
5to compile from within my src/ directory, and the regular <code>compile</code>
6command is pretty dumb. Luckily, there's <code>M-x project-compile</code>,
7which knows where the project root is! Great!
8
9However, the upshot is that I had to create a git repository of this website.
10So it's getting ever closer to being available for perusal! Haha.
11
12I'm wanting to wait until I have a <code>cgit</code> instance on acdw.casa,
13and 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 @@
1;@@title: Good Choices License@@
2
3Everyone is permitted to do whatever they like with this software
4without limitation. This software comes without any warranty
5whatsoever, but with two pieces of advice:
6
7- Be kind to yourself.
8- 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 @@
1<!DOCTYPE html>
2<html>
3 <head>
4 <meta charset="utf-8">
5 <title>Good Choices License</title>
6 <style>
7 body{max-width:78ch;padding:2ch;margin:auto;font:24px serif;}
8 h1{font-size:2em;}
9 </style>
10 </head>
11 <body>
12 <h1>Good Choices License</h1>
13 <p>Everyone is permitted to do whatever they like with this software
14 without limitation. This software comes without any warranty
15 whatsoever, but with two pieces of advice:</p>
16 <ul>
17 <li>Be kind to yourself.</li>
18 <li>Make good choices.</li>
19 </ul>
20 </body>
21</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)
9 <section id="pages"> 9 <section id="pages">
10 <h2>pages here</h2> 10 <h2>pages here</h2>
11 <ul> 11 <ul>
12 $(set -x;for p in ".tmp"/*.env; do . "$p"; print "<li><a href=\"$HTOUT\">$(title)</a></li>"; done) 12 $(for p in ".tmp"/*.env; do . "$p"; print "<li><a href=\"$HTOUT\">$(title)</a></li>"; done)
13 </ul> 13 </ul>
14 </section> 14 </section>
15</main> 15</main>