File structuring

This commit is contained in:
Atlas Cove 2023-02-09 14:19:42 +00:00
parent 52e5ab19ce
commit 30373f4b67
3 changed files with 3 additions and 3 deletions

View File

View File

@ -1,6 +1,6 @@
dnl template.m4.html v1.2
dnl Part of the tape-and-string suite used to construct the website
include(`lib.m4')dnl
include(`m4/lib.m4')dnl
<!DOCTYPE html>
<html>
<head>

View File

@ -52,9 +52,9 @@ for i in ${doc[@]}; do
o="${i/in/out}"
echo "$i => $o"
if test -z "${title[$i]}"; then
tape $i | m4 main.html.m4 > ${o%.*}.html
tape $i | m4 m4/main.html.m4 > ${o%.*}.html
else
tape $i | m4 -DTITLE="${title[$i]}" main.html.m4 > ${o%.*}.html
tape $i | m4 -DTITLE="${title[$i]}" m4/main.html.m4 > ${o%.*}.html
fi
done
inf "Rendering sass files..."