From 988eb326f9fc42b7da23659c05af8948837ccc4f Mon Sep 17 00:00:00 2001 From: Atlas Cove <5618106+Atlas48@users.noreply.github.com> Date: Thu, 6 Oct 2022 12:13:57 +0100 Subject: [PATCH] prioritising removal of blank spaces --- index.html | 1 - not_found.html | 1 - src/render.sh | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/index.html b/index.html index 351a810..548d598 100644 --- a/index.html +++ b/index.html @@ -12,6 +12,5 @@

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 0c1c0eb..824361b 100644 --- a/not_found.html +++ b/not_found.html @@ -13,6 +13,5 @@

Page not found.

The requested page could not be found.


- diff --git a/src/render.sh b/src/render.sh index 6fbb175..3838e95 100755 --- a/src/render.sh +++ b/src/render.sh @@ -2,5 +2,5 @@ # render.sh: part of the tape-and-string framework. declare -A title=([not_found]="404 - Page Not Found" [index]="Atlas48's Archives") for i in *.txti; do - flatiron < $i | m4 -DTITLE=${title[${i##.html}]} main.html.m4 > ../${i/txti/html} + flatiron < $i | m4 -DTITLE=${title[${i##.html}]} main.html.m4 | sed '/^$/d' > ../${i/txti/html} done