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> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset='utf-8'> <style>
<title>Lot of Things Not Here.</title> @include "style.css";
<meta name='viewport' content='width=device-width, initial-scale=1'> </style>
<title></title>
</head> </head>
<body> <body>
<p><em>Welcome to the Atlas48 Archives!</em></p> <p><em>Welcome to the Atlas48 Archives!</em></p>
<p><img src="/img/ucbanner.gif" alt="The First Banner" /></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>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> <p><img src="/img/ucbanner.gif" alt="The Second Banner" /></p>
</body> </body>
</html> </html>

View File

@ -1,24 +1,18 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <style>
<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> @include "style.css";
<link rel="stylesheet" href="https://atlas48.neocities.org//assets/css/syntax.css" type="text/css" /> </style>
<link rel="stylesheet" href="/main.css" type="text/css" /> <title></title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head> </head>
<body> <body>
<header> <p><a href="https://atlas48.neocities.org//&#160;"Blog":https://atlas48.sdf.org/">Home</a></p>
<h1></h1> <p><hr /></p>
</header> <h1>404</h1>
<a href='https://atlas48.neocities.org//'>Home</a>&nbsp;<a href="https://atlas48.sdf.org/">Blog</a> <p><strong>Page not found.</strong></p>
<hr> <p>The requested page could not be found.</p>
<h1></h1> <p><hr /></p>
<div class="container">
<h1>404</h1>
<p><strong>Page not found.</strong></p>
<p>The requested page could not be found.</p>
</div>
<hr>
</body> </body>
</html> </html>

View File

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

View File

@ -2,5 +2,6 @@
declare -A title=([not_found]="404 - Page Not Found" [index]="Atlas48's Archives") declare -A title=([not_found]="404 - Page Not Found" [index]="Atlas48's Archives")
for i in *.txti; do for i in *.txti; do
flatiron <$i> tmp.html 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 done