Rendering via tape-and-string

This commit is contained in:
Atlas Cove 2022-09-25 16:52:56 +01:00
parent 667e5b4462
commit b2aa241b7a
6 changed files with 21 additions and 23 deletions

1
.hgignore Normal file
View File

@ -0,0 +1 @@
src/tmp.html

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

@ -1,15 +1,17 @@
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<title>Lot of Things Not Here.</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<style>
@include "style.css";
</style>
<title></title>
</head>
<body>
<p><em>Welcome to the Atlas48 Archives!</em></p>
<p><img src="/img/ucbanner.gif" alt="The First Banner" /></p>
<p>Everythings slowly being set up and the like, so youll only be able to access here unless you know the layout.</p>
<p>Everything&#8217;s slowly being set up and the like, so you&#8217;ll only be able to access here unless you know the layout.</p>
<p>I <em>may</em> make a sitemap, I may not. Just getting the infastructure set up.</p>
<p><img src="/img/ucbanner.gif" alt="The Second Banner" /></p>
</body>
</html>

View File

@ -1,24 +1,18 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title> &mdash; Atlas Cove's Archives, various scraps of things and pages that may or may not be finished, some notes, some other things.</title>
<link rel="stylesheet" href="https://atlas48.neocities.org//assets/css/syntax.css" type="text/css" />
<link rel="stylesheet" href="/main.css" type="text/css" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@include "style.css";
</style>
<title></title>
</head>
<body>
<header>
<h1></h1>
</header>
<a href='https://atlas48.neocities.org//'>Home</a>&nbsp;<a href="https://atlas48.sdf.org/">Blog</a>
<hr>
<h1></h1>
<div class="container">
<h1>404</h1>
<p><strong>Page not found.</strong></p>
<p>The requested page could not be found.</p>
</div>
<hr>
<p><a href="https://atlas48.neocities.org//&#160;"Blog":https://atlas48.sdf.org/">Home</a></p>
<p><hr /></p>
<h1>404</h1>
<p><strong>Page not found.</strong></p>
<p>The requested page could not be found.</p>
<p><hr /></p>
</body>
</html>

View File

@ -1,4 +1,4 @@
Sitemap: https://atlas48.neocities.org//sitemap.xml
Sitemap: https://atlas48.neocities.org/sitemap.xml
User-Agent: *
Disallow: /

View File

@ -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