From 2b39175011422a0d8f96d7f598f46e2a781dd28f Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Thu, 29 Feb 2024 09:31:15 -0500 Subject: Initial rework commit: Build Script POC and CSS done I've created the main CSS layout and a proof of concept for the build script: this will actually build any "done" _post/ file and generate it as a workable HTML file. However, no index file generate, rss, or gemini is implemented --- old/tidy.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 old/tidy.sh (limited to 'old/tidy.sh') diff --git a/old/tidy.sh b/old/tidy.sh new file mode 100755 index 0000000..6efdb2d --- /dev/null +++ b/old/tidy.sh @@ -0,0 +1,13 @@ +#!/usr/bin/env bash + +if [ $# == 0 ]; then + find www/ -name '*.html' -type f -print -exec tidy -mq -config tidy.conf '{}' \; + if [ $? -lt 2 ]; then + exit 0 + fi +else + tidy -mq -config tidy.conf $@ + if [ $? -lt 2 ]; then + exit 0 + fi +fi -- cgit v1.2.3-54-g00ecf