diff options
author | Matthew Wozniak <me@woz.blue> | 2024-06-25 15:08:10 -0400 |
---|---|---|
committer | Matthew Wozniak <me@woz.blue> | 2024-06-25 15:08:10 -0400 |
commit | be291e00c2aeeb725f662562db11063e2fe25833 (patch) | |
tree | e06a1df810f98d8bc012f2bd7693a5d83f57dd18 /build.sh | |
parent | 263c420046b5ab31e32dd0cdd935ea91dc0b3171 (diff) | |
download | site-be291e00c2aeeb725f662562db11063e2fe25833.tar.gz site-be291e00c2aeeb725f662562db11063e2fe25833.zip |
dos2unix
Diffstat (limited to 'build.sh')
-rwxr-xr-x | build.sh | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -1,11 +1,11 @@ -#!/bin/bash
-
-shopt -s globstar
-
-cp -r static/* out
-
-for i in **/*.md; do
- mkdir -p "out/$(dirname $i)"
- pandoc -s --katex -s -c style.css -B template/header.html \
- -A template/footer.html "$i" -o "out/${i%.*}.html"
-done
+#!/bin/bash + +shopt -s globstar + +cp -r static/* out + +for i in **/*.md; do + mkdir -p "out/$(dirname $i)" + pandoc -s --katex -s -c style.css -B template/header.html \ + -A template/footer.html "$i" -o "out/${i%.*}.html" +done |