From 2495425d5b173d6ffad1e59b372012a30abc25fd Mon Sep 17 00:00:00 2001 From: Atlas Cove <5618106+Atlas48@users.noreply.github.com> Date: Sat, 24 Sep 2022 23:07:46 +0100 Subject: [PATCH] Added src directory --- not_found.html | 8 -------- src/index.txti | 9 +++++++++ src/not_found.txti | 11 +++++++++++ src/render.sh | 6 ++++++ src/template.html.m4 | 14 ++++++++++++++ 5 files changed, 40 insertions(+), 8 deletions(-) create mode 100644 src/index.txti create mode 100644 src/not_found.txti create mode 100755 src/render.sh create mode 100644 src/template.html.m4 diff --git a/not_found.html b/not_found.html index beaedbb..ca56f34 100644 --- a/not_found.html +++ b/not_found.html @@ -2,12 +2,8 @@ - — Atlas Cove's Archives, various scraps of things and pages that may or may not be finished, some notes, some other things. - - - @@ -17,16 +13,12 @@ Home Blog
-

404

Page not found.

The requested page could not be found.

- -
-

Built with Jekyll

diff --git a/src/index.txti b/src/index.txti new file mode 100644 index 0000000..9c42c97 --- /dev/null +++ b/src/index.txti @@ -0,0 +1,9 @@ +_Welcome to the Atlas48 Archives!_ + +!/img/ucbanner.gif(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. + +I _may_ make a sitemap, I may not. Just getting the infastructure set up. + +!/img/ucbanner.gif(The Second Banner)! diff --git a/src/not_found.txti b/src/not_found.txti new file mode 100644 index 0000000..39a8719 --- /dev/null +++ b/src/not_found.txti @@ -0,0 +1,11 @@ +"Home":https://atlas48.neocities.org// "Blog":https://atlas48.sdf.org/ + +
+ +h1. 404 + +*Page not found.* + +The requested page could not be found. + +
diff --git a/src/render.sh b/src/render.sh new file mode 100755 index 0000000..22b33b7 --- /dev/null +++ b/src/render.sh @@ -0,0 +1,6 @@ +#!/bin/bash +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} +done diff --git a/src/template.html.m4 b/src/template.html.m4 new file mode 100644 index 0000000..f47c730 --- /dev/null +++ b/src/template.html.m4 @@ -0,0 +1,14 @@ +dnl template.m4.html v1.0 +dnl Part of the tape-and-string suite used to construct the website + + + + +ifdef(`TITLE',TITLE,`Untitled Atlas48 Archive Page') + + +include(`tmp.html') + +