From d770c63f5949893a14109baad73c9f596caadaf3 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Sun, 25 Jun 2023 14:35:20 -0400 Subject: 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 --- make.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 6ad78ee..8698520 100755 --- a/make.sh +++ b/make.sh @@ -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 -- cgit v1.2.3-54-g00ecf