From 97677f5c153b39fec7131ab5137eed8e330ca08a Mon Sep 17 00:00:00 2001 From: Zane Schaffer Date: Wed, 12 Oct 2022 00:11:01 -0700 Subject: [PATCH] Fix link to tree(1) repo --- about.txt | 7 ++++--- generate.sh | 8 ++++---- index.html | 18 +++++++++--------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/about.txt b/about.txt index 5dd577c..722ab30 100755 --- a/about.txt +++ b/about.txt @@ -1,8 +1,9 @@ Hello! I'm Zane ~ +This is my plaintext, black-on-white, small-as-heck website. -Resume +All words are written in nvim as ASCII text - directory indexes are +generated by my custom fork of tree(1). -Campaign Specialist at Cox Automotive, 2021-2022 -Front End Developer at Zoe Bios Creative, 2020-2021 +(1): https://tildegit.org/zane/tree diff --git a/generate.sh b/generate.sh index af7baa2..1c49ea1 100755 --- a/generate.sh +++ b/generate.sh @@ -1,18 +1,18 @@ #!/usr/bin/env sh DIR=$PWD -POSTS=$DIR/posts -IMAGES=$DIR/images +POSTS="$DIR/posts" +IMAGES="$DIR/images" tree --dirsfirst -C -L 1 -I generate.sh -I dotfiles -I index.html -I tmp -H https://zane.town -T zane.town > index.html if [ -f "$IMAGES/generate.sh" ]; then - sh "$IMAGES/generate.sh" + cd $IMAGES && sh "$IMAGES/generate.sh" else echo "images/generate.sh not found" fi if [ -f "$POSTS/generate.sh" ]; then - sh "$POSTS/generate.sh" + cd $POSTS && sh "$POSTS/generate.sh" else echo "posts/generate.sh not found" fi diff --git a/index.html b/index.html index 440b5b5..1b75ce0 100755 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ - zane.town/posts + zane.town