Regen html from tree(1) fork
This commit is contained in:
parent
30c430adc0
commit
6b41dccff3
|
@ -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!
|
BIN
facts.txt.gz
BIN
facts.txt.gz
Binary file not shown.
2
gen
2
gen
|
@ -8,7 +8,7 @@ IMAGES_DIR="$BLOG_DIR/images"
|
||||||
TREE_FLAGS="--dirsfirst --info -C -L 1"
|
TREE_FLAGS="--dirsfirst --info -C -L 1"
|
||||||
TREE_IGNORES="-I gen -I index.html"
|
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
|
if [ -f "$IMAGES_DIR/generate.sh" ]; then
|
||||||
cd $IMAGES_DIR && sh "$IMAGES_DIR/generate.sh"
|
cd $IMAGES_DIR && sh "$IMAGES_DIR/generate.sh"
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/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
|
||||||
|
|
|
@ -1,19 +1,16 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<meta charset="utf-8">
|
||||||
<meta charset="UTF-8">
|
<meta name="color-scheme" content="dark light">
|
||||||
<meta name="color-scheme" content="dark light" />
|
<title>zane.town/images</title>
|
||||||
<link href="favicon.svg" rel="icon" type="image/svg+xml"/>
|
<style type="text/css">
|
||||||
<title>zane.town/images</title>
|
body {font-family: monospace;}
|
||||||
<style type="text/css">
|
p { margin:0px; padding: 0px;}
|
||||||
body {font-family: monospace;}
|
a { text-decoration: none; color: unset; }
|
||||||
p { margin:0px; padding: 0px;}
|
a:hover { color: #888; }
|
||||||
a { text-decoration: none; color: unset; }
|
</style>
|
||||||
a:hover { color: #888; }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://zane.town/images">https://zane.town/images</a><br>
|
<a href="https://zane.town/images">https://zane.town/images</a><br>
|
||||||
├── <a href="https://zane.town/images/anotherflower.webp">anotherflower.webp</a><br>
|
├── <a href="https://zane.town/images/anotherflower.webp">anotherflower.webp</a><br>
|
||||||
├── <a href="https://zane.town/images/cleo.jpeg">cleo.jpeg</a><br>
|
├── <a href="https://zane.town/images/cleo.jpeg">cleo.jpeg</a><br>
|
||||||
|
@ -22,10 +19,9 @@
|
||||||
├── <a href="https://zane.town/images/model2.webp">model2.webp</a><br>
|
├── <a href="https://zane.town/images/model2.webp">model2.webp</a><br>
|
||||||
├── <a href="https://zane.town/images/trippyflower.webp">trippyflower.webp</a><br>
|
├── <a href="https://zane.town/images/trippyflower.webp">trippyflower.webp</a><br>
|
||||||
└── <a href="https://zane.town/images/workingoutisfun.webp">workingoutisfun.webp</a><br>
|
└── <a href="https://zane.town/images/workingoutisfun.webp">workingoutisfun.webp</a><br>
|
||||||
<br><br><p>
|
<br>
|
||||||
|
0 directories, 7 files
|
||||||
|
|
||||||
0 directories, 7 files
|
</p>
|
||||||
|
|
||||||
</p>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
32
index.html
32
index.html
|
@ -1,19 +1,16 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<meta charset="utf-8">
|
||||||
<meta charset="UTF-8">
|
<meta name="color-scheme" content="dark light">
|
||||||
<meta name="color-scheme" content="dark light" />
|
<title>zane.town</title>
|
||||||
<link href="favicon.svg" rel="icon" type="image/svg+xml"/>
|
<style type="text/css">
|
||||||
<title>zane.town</title>
|
body {font-family: monospace;}
|
||||||
<style type="text/css">
|
p { margin:0px; padding: 0px;}
|
||||||
body {font-family: monospace;}
|
a { text-decoration: none; color: unset; }
|
||||||
p { margin:0px; padding: 0px;}
|
a:hover { color: #888; }
|
||||||
a { text-decoration: none; color: unset; }
|
</style>
|
||||||
a:hover { color: #888; }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://zane.town">https://zane.town</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/cv/">cv</a><br>
|
||||||
├── <a href="https://zane.town/git/">git</a><br>
|
├── <a href="https://zane.town/git/">git</a><br>
|
||||||
|
@ -23,10 +20,9 @@
|
||||||
├── <a title="general information about zane schaffer" href="https://zane.town/about.txt">about.txt</a><br>
|
├── <a title="general information about zane schaffer" href="https://zane.town/about.txt">about.txt</a><br>
|
||||||
├── <a title="zane schaffer's contact info" href="https://zane.town/contact.txt">contact.txt</a><br>
|
├── <a title="zane schaffer's contact info" href="https://zane.town/contact.txt">contact.txt</a><br>
|
||||||
└── <a title="facts about zane schaffer" href="https://zane.town/facts.txt">facts.txt</a><br>
|
└── <a title="facts about zane schaffer" href="https://zane.town/facts.txt">facts.txt</a><br>
|
||||||
<br><br><p>
|
<br>
|
||||||
|
5 directories, 3 files
|
||||||
|
|
||||||
5 directories, 3 files
|
</p>
|
||||||
|
|
||||||
</p>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/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
|
||||||
|
|
|
@ -1,27 +1,23 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html lang="en">
|
||||||
<head>
|
<meta charset="utf-8">
|
||||||
<meta charset="UTF-8">
|
<meta name="color-scheme" content="dark light">
|
||||||
<meta name="color-scheme" content="dark light" />
|
<title>zane.town/posts</title>
|
||||||
<link href="favicon.svg" rel="icon" type="image/svg+xml"/>
|
<style type="text/css">
|
||||||
<title>zane.town/posts</title>
|
body {font-family: monospace;}
|
||||||
<style type="text/css">
|
p { margin:0px; padding: 0px;}
|
||||||
body {font-family: monospace;}
|
a { text-decoration: none; color: unset; }
|
||||||
p { margin:0px; padding: 0px;}
|
a:hover { color: #888; }
|
||||||
a { text-decoration: none; color: unset; }
|
</style>
|
||||||
a:hover { color: #888; }
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
<body>
|
<body>
|
||||||
<p>
|
<p>
|
||||||
<a href="https://zane.town/posts">https://zane.town/posts</a><br>
|
<a href="https://zane.town/posts">https://zane.town/posts</a><br>
|
||||||
├── <a href="https://zane.town/posts/a-new-site.txt">a-new-site.txt</a><br>
|
├── <a href="https://zane.town/posts/a-new-site.txt">a-new-site.txt</a><br>
|
||||||
├── <a href="https://zane.town/posts/setup-time.txt">setup-time.txt</a><br>
|
├── <a href="https://zane.town/posts/setup-time.txt">setup-time.txt</a><br>
|
||||||
└── <a href="https://zane.town/posts/the-smokey-skies.txt">the-smokey-skies.txt</a><br>
|
└── <a href="https://zane.town/posts/the-smokey-skies.txt">the-smokey-skies.txt</a><br>
|
||||||
<br><br><p>
|
<br>
|
||||||
|
0 directories, 3 files
|
||||||
|
|
||||||
0 directories, 3 files
|
</p>
|
||||||
|
|
||||||
</p>
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/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
|
||||||
|
|
Loading…
Reference in New Issue