diff --git a/build.sh b/build.sh index ee80ea5..038380c 100755 --- a/build.sh +++ b/build.sh @@ -5,7 +5,7 @@ source_to_target() { sed -E -e 's:\.\./src/:\./:' -e 's/.md$/.html/'; } shopt -s globstar rm -rf dist/ mkdir dist&&cd dist -cp ../style.css . +cp -r ../static/* . for file in $(du -a ../src/ | cut -f2 | grep -E '.md$'); do target="$(echo $file | source_to_target)" export CONTENT="$(pandoc --from markdown+emoji --wrap=none -i $file)" diff --git a/style.css b/static/style.css similarity index 100% rename from style.css rename to static/style.css