build.sh 256 B

1234567891011121314
  1. dir=/var/www/1j.nz/
  2. head -n 10 $dir/template/index.html
  3. cat $dir/template/header.html
  4. cat $dir/sections/*.html
  5. ls $dir/compiled/*.sh | bash
  6. cat $dir/template/footer.html
  7. echo "<!-- generated: $(date -Iseconds) -->"
  8. tail -n 3 $dir/template/index.html