diff --git a/.gitignore b/.gitignore index e45b931..1dd1939 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ * +!src/ + !.gitignore !*.html diff --git a/build.sh b/build.sh index 2bda9a0..3a7d088 100755 --- a/build.sh +++ b/build.sh @@ -8,5 +8,7 @@ rm -rf ./build mkdir ./build for html_file in $(find -name "*.html"); do - sed "/^#/d" <(process $html_file) > ./build/${html_file#./} + path=./build/${html_file#./} + mkdir $(dirname $path) 2> /dev/null + sed "/^#/d" <(process $html_file) > $path done diff --git a/build/src/discord-embed-metadata.html b/build/src/discord-embed-metadata.html new file mode 100644 index 0000000..4bc22b0 --- /dev/null +++ b/build/src/discord-embed-metadata.html @@ -0,0 +1,5 @@ + + + + + diff --git a/build/src/index.html b/build/src/index.html new file mode 100644 index 0000000..189a1f7 --- /dev/null +++ b/build/src/index.html @@ -0,0 +1,11 @@ + + +
+