diff --git a/build.sh b/build.sh index 3a7d088..19ab826 100755 --- a/build.sh +++ b/build.sh @@ -9,6 +9,11 @@ mkdir ./build for html_file in $(find -name "*.html"); do path=./build/${html_file#./} - mkdir $(dirname $path) 2> /dev/null - sed "/^#/d" <(process $html_file) > $path + + # Preprocess if filename doesn't start with _. + if [[ $(basename $html_file) != _* ]]; then + echo "Building $html_file..." + mkdir $(dirname $path) 2> /dev/null + sed "/^#/d" <(process $html_file) > $path + fi done diff --git a/build/src/index.html b/build/src/index.html deleted file mode 100644 index 189a1f7..0000000 --- a/build/src/index.html +++ /dev/null @@ -1,11 +0,0 @@ - - -
-