add shell script for generating all pages, add source and dest dirs

This commit is contained in:
opFez 2021-07-30 17:17:20 +02:00
parent 004d2edbda
commit 0bfc745f31
3 changed files with 10 additions and 0 deletions

7
gen.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/sh
for file in site-src/*; do
bn=$(basename $file .src)
echo "Converting $bn..."
./format $file site/$bn.html
done

3
site-src/index.src Normal file
View File

@ -0,0 +1,3 @@
* Index
Welcome to {codex}.

0
site/.gitkeep Normal file
View File