From b2aa241b7a21b028d0159fd92c0dac510114579f Mon Sep 17 00:00:00 2001 From: Atlas Cove <5618106+Atlas48@users.noreply.github.com> Date: Sun, 25 Sep 2022 16:52:56 +0100 Subject: [PATCH] Rendering via tape-and-string --- .hgignore | 1 + ucbanner.gif => img/ucbanner.gif | Bin index.html | 10 ++++++---- not_found.html | 28 +++++++++++----------------- robots.txt | 2 +- src/render.sh | 3 ++- 6 files changed, 21 insertions(+), 23 deletions(-) create mode 100644 .hgignore rename ucbanner.gif => img/ucbanner.gif (100%) diff --git a/.hgignore b/.hgignore new file mode 100644 index 0000000..524c7ba --- /dev/null +++ b/.hgignore @@ -0,0 +1 @@ +src/tmp.html diff --git a/ucbanner.gif b/img/ucbanner.gif similarity index 100% rename from ucbanner.gif rename to img/ucbanner.gif diff --git a/index.html b/index.html index 3446536..351a810 100644 --- a/index.html +++ b/index.html @@ -1,15 +1,17 @@ - -Lot of Things Not Here. - + +

Welcome to the Atlas48 Archives!

The First Banner

-

Everything’s slowly being set up and the like, so you’ll only be able to access here unless you know the layout.

+

Everything’s slowly being set up and the like, so you’ll only be able to access here unless you know the layout.

I may make a sitemap, I may not. Just getting the infastructure set up.

The Second Banner

+ diff --git a/not_found.html b/not_found.html index ca56f34..0c1c0eb 100644 --- a/not_found.html +++ b/not_found.html @@ -1,24 +1,18 @@ - - — Atlas Cove's Archives, various scraps of things and pages that may or may not be finished, some notes, some other things. - - - + + -
-

-
-Home Blog -
-

-
-

404

-

Page not found.

-

The requested page could not be found.

-
-
+

Home

+


+

404

+

Page not found.

+

The requested page could not be found.

+


+ diff --git a/robots.txt b/robots.txt index aaee5c0..42c5e54 100644 --- a/robots.txt +++ b/robots.txt @@ -1,4 +1,4 @@ -Sitemap: https://atlas48.neocities.org//sitemap.xml +Sitemap: https://atlas48.neocities.org/sitemap.xml User-Agent: * Disallow: / diff --git a/src/render.sh b/src/render.sh index 22b33b7..5a627ed 100755 --- a/src/render.sh +++ b/src/render.sh @@ -2,5 +2,6 @@ declare -A title=([not_found]="404 - Page Not Found" [index]="Atlas48's Archives") for i in *.txti; do flatiron <$i> tmp.html - m4 -DTITLE=${title[${i##.html}]} template.m4.html > ../${i/txti/html} + m4 -DTITLE=${title[${i##.html}]} template.html.m4 > ../${i/txti/html} + rm tmp.html done