joplin-mdbooks-website/build.sh
2021-01-07 19:31:46 +02:00

11 lines
288 B
Bash
Executable File

#!/bin/bash
set -euxo pipefail
git clone https://github.com/getzola/book.git themes/book/
rm -rf public/
zola build
# Make checkboxes editable, just in case the user wants to keep their own checklist.
find public/ -name "*.html" -type f -exec sed -i 's/input disabled=""/input/g' {} +