diff options
author | Steph Enders <steph@senders.io> | 2023-06-25 14:35:20 -0400 |
---|---|---|
committer | Steph Enders <steph@senders.io> | 2023-06-25 14:35:20 -0400 |
commit | d770c63f5949893a14109baad73c9f596caadaf3 (patch) | |
tree | d82612707cebf1bd0ea928c772e3711f1b53deb1 | |
parent | b79e3ddd29df9ef7e2a6bd94c853a2dfd49a3331 (diff) |
Add tidy to the make command
Update our make script to also tidy the files to ensure we've properly
formatted any files.
While ideally we format the actual .html files in our entries tidy will
amend some missing structures so having it only run on the output will
ensure things like & and ' < > etc will be encoded properly
-rwxr-xr-x | make.sh | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ +# Render pages ./render.sh entries/index.html www/index.html ./render.sh entries/error.html www/error.html - +# copy static files cp -r static/* www + +# tidy the HTML (this will resolve some common mistakes like & and ' etc +./tidy.sh |