From db1d929f35ca976b27b4ba042b3c81bb42412906 Mon Sep 17 00:00:00 2001 From: Steph Enders Date: Wed, 21 Jun 2023 20:31:43 -0400 Subject: Add tidy and tidy the content --- tidy.conf | 14 +++++++ tidy.sh | 13 ++++++ www/index.html | 124 ++++++++++++++++++++++++++++++--------------------------- 3 files changed, 93 insertions(+), 58 deletions(-) create mode 100644 tidy.conf create mode 100755 tidy.sh diff --git a/tidy.conf b/tidy.conf new file mode 100644 index 0000000..398985f --- /dev/null +++ b/tidy.conf @@ -0,0 +1,14 @@ +indent: auto +indent-spaces: 2 +indent-attributes: yes +wrap: 80 +wrap-attributes: no +markup: yes +quote-marks: yes +quote-nbsp: yes +quote-ampersand: no +uppercase-tags: no +uppercase-attributes: no +new-pre-tags: code, +show-warnings: no +hide-comments: yes diff --git a/tidy.sh b/tidy.sh new file mode 100755 index 0000000..6efdb2d --- /dev/null +++ b/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 diff --git a/www/index.html b/www/index.html index 655ebeb..c23f0eb 100644 --- a/www/index.html +++ b/www/index.html @@ -3,74 +3,78 @@ + content="HTML Tidy for HTML5 for Linux version 5.7.45"> The Woman in my Eye - - + + + content= + "The woman in your eye is a transgender blog from the perspective of the author. She tries her best to provide information to hopefully help or entertain her readers who may also be struggling with their gender identity"> + @@ -79,35 +83,39 @@

Hello,

The Woman in my Eye

-

Welcome to my blog. My name is Steph and I am a 30 something transgender woman. This blog focuses on my journey transitioning and discovering my gender. I am not a medical professional or an expert on the subject. I am simply a girl trying to share her story in the hopes it might actually help someone else find themselves...or entertain; either works!

+

Welcome to my blog. My name is Steph and I am a 30 something + transgender woman. This blog focuses on my journey transitioning and + discovering my gender. I am not a medical professional or an expert on + the subject. I am simply a girl trying to share her story in the hopes it + might actually help someone else find themselves...or entertain; either + works!

-

This would be where my first article would be... if I didn't just start this site! Please look forward to it.

+

This would be where my first article would be... if I didn't just + start this site! Please look forward to it.

-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
-