about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/_foot.htm6
-rw-r--r--src/_head.htm14
-rw-r--r--src/_index.htm7
-rw-r--r--src/beans.html21
-rw-r--r--src/favicon.ht15
-rw-r--r--src/gcl/index.html21
-rw-r--r--src/shameless-self-promotion/index.html11
-rw-r--r--src/static/casa.css32
-rw-r--r--src/static/rss.xml27
9 files changed, 154 insertions, 0 deletions
diff --git a/src/_foot.htm b/src/_foot.htm new file mode 100644 index 0000000..287b2ba --- /dev/null +++ b/src/_foot.htm
@@ -0,0 +1,6 @@
1<footer>
2 $(case "$(title)" in ("") ;; (*) print "<a href=\"./index.html\">back</a>" ;; esac)
3 <span id="copyright">(C) 2022 C. Duckworth</span>
4</footer>
5</body>
6</html>
diff --git a/src/_head.htm b/src/_head.htm new file mode 100644 index 0000000..762965e --- /dev/null +++ b/src/_head.htm
@@ -0,0 +1,14 @@
1<!DOCTYPE html>
2<html lang="en">
3 <head>
4 <meta charset="utf-8">
5 <meta http-equiv="x-ua-compatible" content="ie=edge">
6 <meta name="viewport"
7 content="width=device-width,initial-scale=1,shrink=to-fit=no">
8 <title>$(title)</title>
9 <link rel="shortcut icon"
10 href="data:image/gif;base64,R0lGODdhEAAQAIAAAAByL8zAGiwAAAAAEAAQAAACK4wNqQsX+1hD6kiaXKxQb+ZZYChmpGNinfpxV/q02dzUrx1L+Lzlp60LFgAAOw==" />
11 <link rel="stylesheet" type="text/css" href="static/casa.css">
12 <link rel="alternate" type="application/atom+xml" href="static/rss.xml">
13 </head>
14 <body>
diff --git a/src/_index.htm b/src/_index.htm new file mode 100644 index 0000000..6b7b809 --- /dev/null +++ b/src/_index.htm
@@ -0,0 +1,7 @@
1<p>Ahoy! This here is my little home-away-from-home on the interwebs.
2 I'm currently experimenting with a custom little <abbr title="static site generator">SSG</abbr>
3 I'm calling <strong>HAT TRICK</strong>.
4 I should probably throw the source up somewhere, but I haven't yet.
5</p>
6
7
diff --git a/src/beans.html b/src/beans.html new file mode 100644 index 0000000..ff89934 --- /dev/null +++ b/src/beans.html
@@ -0,0 +1,21 @@
1html,body {
2 min-height: 100vh;
3 margin:0; padding: 0;
4}
5
6html {
7 font: 18px serif;
8 background: #385180;
9}
10
11body {
12 max-width: 79ch;
13 padding: 0 2ch;
14 margin: 0 auto;
15 background: #405990;
16 color: white;
17}
18
19a {
20 color: yellow;
21}
diff --git a/src/favicon.ht b/src/favicon.ht new file mode 100644 index 0000000..b9df118 --- /dev/null +++ b/src/favicon.ht
@@ -0,0 +1,15 @@
1;@@title: Embedded data-url favicon@@
2
3You might notice that I have a <b>new favicon</b> on this site.
4I didn't want to make a whole nother request, so I took a page from
5=> http://flower.codes/2022/05/10/disabling-favicon.html flower.codes
6(who disabled their favicon completely) and made my favicon a <code>data</code> uri.
7
8I thought it might be complicated, but it was really pretty ding dang easy.
9I found an easy-to-use
10=> https://www.adminbooster.com/tool/data_uri file-to-data-uri converter tool
11and uploaded a little image I made in the
12<abbr title="GNU Image Manipulation Program">GIMP</abbr>. I tried PNG and GIF.
13GIF was much smaller, so that's what I went with.
14
15Anyway, now you should see a little house on the tab you've loaded this on! Yay.
diff --git a/src/gcl/index.html b/src/gcl/index.html new file mode 100644 index 0000000..3357702 --- /dev/null +++ b/src/gcl/index.html
@@ -0,0 +1,21 @@
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/src/shameless-self-promotion/index.html b/src/shameless-self-promotion/index.html new file mode 100644 index 0000000..f4c5710 --- /dev/null +++ b/src/shameless-self-promotion/index.html
@@ -0,0 +1,11 @@
1<html>
2 <head>
3 <title>Shameless self-promotion!</title>
4 </head>
5 <body>
6 <h1>shameless</h1>
7 <h2>self</h2>
8 <h3>promotion</h3>
9 <p>what can i say, i'm a cool guy.</p>
10 </body>
11</html>
diff --git a/src/static/casa.css b/src/static/casa.css new file mode 100644 index 0000000..36bdda0 --- /dev/null +++ b/src/static/casa.css
@@ -0,0 +1,32 @@
1html {
2 min-height: 100vh;
3 margin:0; padding: 0;
4}
5
6html {
7 font: 18px serif;
8}
9
10body {
11 max-width: 79ch;
12 margin: 0 auto;
13 padding: 0 2ch;
14 background: #385180;
15 color: white;
16}
17
18main {
19 max-width: 79ch;
20 padding: 2ch;
21 margin: auto;
22 background: #405990;
23}
24
25a {
26 color: yellow;
27}
28
29footer {
30 text-align: right;
31 padding: 1ch 0;
32}
diff --git a/src/static/rss.xml b/src/static/rss.xml new file mode 100644 index 0000000..44617d8 --- /dev/null +++ b/src/static/rss.xml
@@ -0,0 +1,27 @@
1<?xml version="1.0" encoding="UTF-8" ?>
2<rss version="2.0">
3<channel>
4 <title>Acdw's Casa</title>
5 <description>My casa, in the middle of the web</description>
6 <link>https://acdw.casa</link>
7 <copyright>2022 Case Duckworth</copyright>
8 <lastBuildDate>2022-03-03</lastBuildDate>
9 <pubDate>2022-03-03</pubDate>
10 <ttl>1800</ttl>
11
12 <item>
13 <title>And we're live</title>
14 <description>Hi basement</description>
15 <link>https://acdw.casa/</link>
16 <pubDate>2022-03-03</pubDate>
17 </item>
18
19 <item>
20 <title>Good Choices License</title>
21 <description>A license for people</description>
22 <link>https://acdw.casa/gcl/</link>
23 <pubDate>2022-05-13</pubDate>
24 </item>
25
26</channel>
27</rss>