Fix link to tree(1) repo

This commit is contained in:
Zane Schaffer 2022-10-12 00:11:01 -07:00 committed by Zane Schaffer
parent f1215a0f8a
commit 97677f5c15
3 changed files with 17 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8">
<meta name="color-scheme" content="dark light" />
<link href="favicon.svg" rel="icon" type="image/svg+xml"/>
<title>zane.town/posts</title>
<title>zane.town</title>
<style type="text/css">
body {font-family: monospace;}
p { margin:0px; padding: 0px;}
@ -14,14 +14,14 @@
</head>
<body>
<p>
<a href="https://zane.town/posts">https://zane.town/posts</a><br>
├── <a href="https://zane.town/posts/cv/">cv</a><br>
├── <a href="https://zane.town/posts/git/">git</a><br>
├── <a href="https://zane.town/posts/images/">images</a><br>
├── <a href="https://zane.town/posts/posts/">posts</a><br>
├── <a href="https://zane.town/posts/about.txt">about.txt</a><br>
├── <a href="https://zane.town/posts/contact.txt">contact.txt</a><br>
└── <a href="https://zane.town/posts/facts.txt">facts.txt</a><br>
<a href="https://zane.town">https://zane.town</a><br>
├── <a href="https://zane.town/cv/">cv</a><br>
├── <a href="https://zane.town/git/">git</a><br>
├── <a href="https://zane.town/images/">images</a><br>
├── <a href="https://zane.town/posts/">posts</a><br>
├── <a href="https://zane.town/about.txt">about.txt</a><br>
├── <a href="https://zane.town/contact.txt">contact.txt</a><br>
└── <a href="https://zane.town/facts.txt">facts.txt</a><br>
<br><br><p>
4 directories, 3 files