File structuring
This commit is contained in:
parent
52e5ab19ce
commit
30373f4b67
@ -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>
|
@ -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..."
|
||||||
|
Loading…
Reference in New Issue
Block a user