diff --git a/robots.txt b/robots.txt index 42c5e54..f6216ba 100644 --- a/robots.txt +++ b/robots.txt @@ -1,4 +1,5 @@ Sitemap: https://atlas48.neocities.org/sitemap.xml User-Agent: * -Disallow: / +Allow: / +Crawl-delay: 1 diff --git a/src/lib.m4 b/src/lib.m4 new file mode 100644 index 0000000..da8cff6 --- /dev/null +++ b/src/lib.m4 @@ -0,0 +1,4 @@ +divert(-1) +# extra macros for site structure +define(`ytv',`') +divert diff --git a/src/template.html.m4 b/src/main.html.m4 similarity index 75% rename from src/template.html.m4 rename to src/main.html.m4 index f47c730..ff81873 100644 --- a/src/template.html.m4 +++ b/src/main.html.m4 @@ -1,5 +1,6 @@ dnl template.m4.html v1.0 dnl Part of the tape-and-string suite used to construct the website +include(`lib.m4')dnl @@ -9,6 +10,6 @@ dnl Part of the tape-and-string suite used to construct the website ifdef(`TITLE',TITLE,`Untitled Atlas48 Archive Page') -include(`tmp.html') +include(`/dev/stdin')dnl Probably not a good idea, but whatever. diff --git a/src/render.sh b/src/render.sh index 5a627ed..6fbb175 100755 --- a/src/render.sh +++ b/src/render.sh @@ -1,7 +1,6 @@ #!/bin/bash +# 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> tmp.html - m4 -DTITLE=${title[${i##.html}]} template.html.m4 > ../${i/txti/html} - rm tmp.html + flatiron < $i | m4 -DTITLE=${title[${i##.html}]} main.html.m4 > ../${i/txti/html} done diff --git a/style.css b/style.css index d2c7edb..9d23ceb 100644 --- a/style.css +++ b/style.css @@ -1,5 +1,3 @@ body { - background-color: white; - color: black; - font-family: Verdana; + font-family: sans-serif; }