2021-01-07 12:31:46 -05:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
set -euxo pipefail
|
|
|
|
|
2021-01-07 12:35:53 -05:00
|
|
|
rm -rf themes/book/
|
2021-01-07 12:31:46 -05:00
|
|
|
git clone https://github.com/getzola/book.git themes/book/
|
2021-01-07 12:35:53 -05:00
|
|
|
|
2021-01-07 12:31:46 -05:00
|
|
|
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' {} +
|