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 template.m4.html v1.2
dnl Part of the tape-and-string suite used to construct the website dnl Part of the tape-and-string suite used to construct the website
include(`lib.m4')dnl include(`m4/lib.m4')dnl
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>

View File

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