From 6b41dccff3ee221efddd2b9578fac54777f20f88 Mon Sep 17 00:00:00 2001 From: Zane Schaffer Date: Tue, 25 Oct 2022 09:59:26 -0700 Subject: [PATCH] Regen html from tree(1) fork --- facts.txt | 9 +++++++++ facts.txt.gz | Bin 154 -> 0 bytes gen | 2 +- images/generate.sh | 2 +- images/index.html | 32 ++++++++++++++------------------ index.html | 32 ++++++++++++++------------------ posts/generate.sh | 2 +- posts/index.html | 32 ++++++++++++++------------------ scripts/generate.sh | 2 +- 9 files changed, 55 insertions(+), 58 deletions(-) create mode 100755 facts.txt delete mode 100755 facts.txt.gz diff --git a/facts.txt b/facts.txt new file mode 100755 index 0000000..447abb8 --- /dev/null +++ b/facts.txt @@ -0,0 +1,9 @@ +I live in Seattle, Washington with Xinrui + +I have a cat named Cleo + +I fiddle with instruments and make music + +I love biking and riding with my friends + +No more ear ache! diff --git a/facts.txt.gz b/facts.txt.gz deleted file mode 100755 index f713e3e02779b3266aee88428849af4c54459263..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 154 zcmV;L0A>FliwFqr^-^O317=}kbaO6rcys_IjWG@aF$@IzykhD31=Te)6wsR3N32U6 zDRDsjp4`!`G_$)4vc3gsxCyyuIpa<}slB`!KI#b%wKg<_1&O9gh~zLT!nkCqJ6M%D z%U@UP-bNAg4l+ieO;ASHxSP4oiKlM!;Gj);k4Lk7u{IUs9>TSv)Fu#WpqS(oe)@-6 IVX6QC02N$Cj{pDw diff --git a/gen b/gen index 3c57e90..d19657e 100755 --- a/gen +++ b/gen @@ -8,7 +8,7 @@ IMAGES_DIR="$BLOG_DIR/images" TREE_FLAGS="--dirsfirst --info -C -L 1" TREE_IGNORES="-I gen -I index.html" -tree $TREE_FLAGS $TREE_IGNORES -H $BLOG_URL -T $BLOG_TITLE > index.html +/usr/local/bin/tree $TREE_FLAGS $TREE_IGNORES -H $BLOG_URL -T $BLOG_TITLE > index.html if [ -f "$IMAGES_DIR/generate.sh" ]; then cd $IMAGES_DIR && sh "$IMAGES_DIR/generate.sh" diff --git a/images/generate.sh b/images/generate.sh index 44d80d9..79dbf62 100755 --- a/images/generate.sh +++ b/images/generate.sh @@ -1,2 +1,2 @@ #!/bin/sh -tree --dirsfirst -C -L 1 -I generate.sh -I favicon.svg -I logo.png -I style.css -I index.html -I tags -H "https://zane.town/images" -T "zane.town/images" > index.html +/usr/local/bin/tree --dirsfirst -C -L 1 -I generate.sh -I favicon.svg -I logo.png -I style.css -I index.html -I tags -H "https://zane.town/images" -T "zane.town/images" > index.html diff --git a/images/index.html b/images/index.html index 4f8523e..c32768a 100755 --- a/images/index.html +++ b/images/index.html @@ -1,19 +1,16 @@ - - - - - - zane.town/images - - + + + +zane.town/images + -

+

https://zane.town/images
├── anotherflower.webp
├── cleo.jpeg
@@ -22,10 +19,9 @@ ├── model2.webp
├── trippyflower.webp
└── workingoutisfun.webp
-

+
+ 0 directories, 7 files -0 directories, 7 files - -

+

diff --git a/index.html b/index.html index f162a3b..95288a5 100755 --- a/index.html +++ b/index.html @@ -1,19 +1,16 @@ - - - - - - zane.town - - + + + +zane.town + -

+

https://zane.town
├── cv
├── git
@@ -23,10 +20,9 @@ ├── about.txt
├── contact.txt
└── facts.txt
-

+
+ 5 directories, 3 files -5 directories, 3 files - -

+

diff --git a/posts/generate.sh b/posts/generate.sh index f0bdb38..cc5d2d4 100755 --- a/posts/generate.sh +++ b/posts/generate.sh @@ -1,2 +1,2 @@ #!/bin/sh -tree --dirsfirst -C -L 1 -I generate.sh -I favicon.svg -I logo.png -I style.css -I index.html -I tags -H "https://zane.town/posts" -T "zane.town/posts" > index.html +/usr/local/bin/tree --dirsfirst -C -L 1 -I generate.sh -I favicon.svg -I logo.png -I style.css -I index.html -I tags -H "https://zane.town/posts" -T "zane.town/posts" > index.html diff --git a/posts/index.html b/posts/index.html index 2f04a94..26fe915 100755 --- a/posts/index.html +++ b/posts/index.html @@ -1,27 +1,23 @@ - - - - - - zane.town/posts - - + + + +zane.town/posts + -

+

https://zane.town/posts
├── a-new-site.txt
├── setup-time.txt
└── the-smokey-skies.txt
-

+
+ 0 directories, 3 files -0 directories, 3 files - -

+

diff --git a/scripts/generate.sh b/scripts/generate.sh index f769eb8..bd77608 100755 --- a/scripts/generate.sh +++ b/scripts/generate.sh @@ -1,2 +1,2 @@ #!/bin/sh -tree --dirsfirst --info -C -L 1 -I generate.sh -I index.html -H "https://zane.town/scripts" -T "zane.town/scripts" > index.html +/usr/local/bin/tree --dirsfirst --info -C -L 1 -I generate.sh -I index.html -H "https://zane.town/scripts" -T "zane.town/scripts" > index.html