summaryrefslogtreecommitdiff
path: root/tidy.sh
AgeCommit message (Collapse)Author
2024-07-31Allow for bypassing of tidy processSteph Enders
Sometimes a tidy HTML file isn't right for a file: for example a poem where we don't want to use <pre> tags. So we rely on "white-space: pre" to allow it to be retained; but tidy would remove that. So during build we can extract the "notidy" tag and if its unset we will run the same tidy as usual else we bypass it outright
2022-11-06Add script for blog publishingBill
Since a blog is written to the index.html its fairly easy to provide just the date and the md file. There still requires the line writing to the Blog Index. Also suppress warning exit from tidy which outputs a 1 if warnings and a 2 if errors were present. This method allows tidy.sh to be scriptable making warnings only return a 0 as well (so I can still use set -e in the scripts)
2022-11-05Create new MD blog post and retidyBill
I updated tidy so each file got a nice update along with the actual update
2020-02-16Update tidy.sh to allow for specific filesStephen Enders
Rather than have it run across the entire project, enable it to run for given file arguments. By default it will still run against all html files in the project
2019-01-212019-01-21 Post + So many updates to the site in generalStephen Enders