7 lines
217 B
Bash
7 lines
217 B
Bash
|
#!/bin/bash
|
||
|
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.m4.html > ../${i/txti/html}
|
||
|
done
|