Age | Commit message (Collapse) | Author |
|
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
|
|
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)
|
|
I updated tidy so each file got a nice update along with the actual
update
|
|
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
|
|
|