From eef390d781e109d6f395bd84de39f9626d9c5973 Mon Sep 17 00:00:00 2001 From: maren Date: Tue, 21 Nov 2023 23:17:13 -0500 Subject: [PATCH] bunk init --- .gitignore | 4 ++ blog.html | 4 ++ build.sh | 21 +++++++++ feed/body.atom | 14 ++++++ feed/entry-template.atom | 7 +++ feed/feed.atom | 25 +++++++++++ feed/foot.atom | 1 + feed/head-template.atom | 10 +++++ feed/head.atom | 10 +++++ foot.html | 5 +++ head.html | 15 +++++++ home.html | 9 ++++ links.html | 12 +++++ new-post.sh | 44 ++++++++++++++++++ posts/diy-sms-ftw-vs-ig-fb-etc/index.html | 46 +++++++++++++++++++ posts/init/index.html | 31 +++++++++++++ readme.md | 5 +++ robots.txt | 2 + style.css | 54 +++++++++++++++++++++++ view.sh | 3 ++ 20 files changed, 322 insertions(+) create mode 100644 .gitignore create mode 100644 blog.html create mode 100755 build.sh create mode 100644 feed/body.atom create mode 100644 feed/entry-template.atom create mode 100644 feed/feed.atom create mode 100644 feed/foot.atom create mode 100644 feed/head-template.atom create mode 100644 feed/head.atom create mode 100644 foot.html create mode 100644 head.html create mode 100644 home.html create mode 100644 links.html create mode 100755 new-post.sh create mode 100644 posts/diy-sms-ftw-vs-ig-fb-etc/index.html create mode 100644 posts/init/index.html create mode 100644 readme.md create mode 100644 robots.txt create mode 100644 style.css create mode 100755 view.sh diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3a265a8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +.vscode/ +site/ +wip.html +deploy.sh diff --git a/blog.html b/blog.html new file mode 100644 index 0000000..425d5fe --- /dev/null +++ b/blog.html @@ -0,0 +1,4 @@ + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..86ce505 --- /dev/null +++ b/build.sh @@ -0,0 +1,21 @@ +#!/bin/sh -e + +# prep for build +rm -rf ./site +mkdir -p ./site +mkdir -p ./site/links +mkdir -p ./site/blog + +# build top-level pages +cat head.html home.html foot.html > ./site/index.html +cat head.html links.html foot.html > ./site/links/index.html +cat head.html blog.html foot.html > ./site/blog/index.html + +# copy one-offs +cp style.css ./site/style.css +cp robots.txt ./site/robots.txt + +# build feed +cp ./feed/feed.atom ./site/feed.atom + +cp -a ./posts/. ./site/blog/. diff --git a/feed/body.atom b/feed/body.atom new file mode 100644 index 0000000..2f0a9a4 --- /dev/null +++ b/feed/body.atom @@ -0,0 +1,14 @@ + +diy sms ftw vs ig, fb, etc. + +https://stillgreenmoss.net/blog/diy-sms-ftw-vs-ig-fb-etc +2023-11-17T00:00:00Z + + + +init + +https://stillgreenmoss.net/blog/init +2023-10-01T00:00:00Z + + diff --git a/feed/entry-template.atom b/feed/entry-template.atom new file mode 100644 index 0000000..940a651 --- /dev/null +++ b/feed/entry-template.atom @@ -0,0 +1,7 @@ + +TITLE + +URL +UPDATED + + diff --git a/feed/feed.atom b/feed/feed.atom new file mode 100644 index 0000000..11500cd --- /dev/null +++ b/feed/feed.atom @@ -0,0 +1,25 @@ + + + +stillgreenmoss + + +2023-11-17T00:00:00Z +maren +https://stillgreenmoss.net + + +diy sms ftw vs ig, fb, etc. + +https://stillgreenmoss.net/blog/diy-sms-ftw-vs-ig-fb-etc +2023-11-17T00:00:00Z + + + +init + +https://stillgreenmoss.net/blog/init +2023-10-01T00:00:00Z + + + diff --git a/feed/foot.atom b/feed/foot.atom new file mode 100644 index 0000000..f2d5538 --- /dev/null +++ b/feed/foot.atom @@ -0,0 +1 @@ + diff --git a/feed/head-template.atom b/feed/head-template.atom new file mode 100644 index 0000000..50b70da --- /dev/null +++ b/feed/head-template.atom @@ -0,0 +1,10 @@ + + + +stillgreenmoss + + +UPDATED +maren +https://stillgreenmoss.net + diff --git a/feed/head.atom b/feed/head.atom new file mode 100644 index 0000000..eb94321 --- /dev/null +++ b/feed/head.atom @@ -0,0 +1,10 @@ + + + +stillgreenmoss + + +2023-11-17T00:00:00Z +maren +https://stillgreenmoss.net + diff --git a/foot.html b/foot.html new file mode 100644 index 0000000..8576679 --- /dev/null +++ b/foot.html @@ -0,0 +1,5 @@ +
+cc by-sa +
+ + diff --git a/head.html b/head.html new file mode 100644 index 0000000..39808c0 --- /dev/null +++ b/head.html @@ -0,0 +1,15 @@ + + + + + + +still, green moss + + +
+

thiss moss iss still greenn

+

+home | blog | links | feed +

+
diff --git a/home.html b/home.html new file mode 100644 index 0000000..5aaacf7 --- /dev/null +++ b/home.html @@ -0,0 +1,9 @@ +

hello my name is maren and this is the domain i purchased with usd.

+

i live in the mountains in north carolina in the us.

+

i do computer things and other things too. i think this site is mostly about the computer things

+
+political commitment isn't a perimeter, sam;
+it's a parameter. don't you ever wonder?
+don't you ever doubt?
+
+

be well <3

diff --git a/links.html b/links.html new file mode 100644 index 0000000..8c15876 --- /dev/null +++ b/links.html @@ -0,0 +1,12 @@ +

links

+ + +

contact

+
    +
  • email: maren at this domain
  • +
  • matrix: stillgreenmoss at matrix dot org
  • +
diff --git a/new-post.sh b/new-post.sh new file mode 100755 index 0000000..52ed545 --- /dev/null +++ b/new-post.sh @@ -0,0 +1,44 @@ +#!/bin/sh -e + +mkdir -p ./posts + +# get name and url and other values we need +read -p "Title of blog post: " postTitle +read -p "URL string for blog post: " postUrl +fullUrl='https:\/\/stillgreenmoss\.net\/blog\/'"$postUrl" +currentMonth=$(date +%B) +currentYear=$(date +%Y) +postDate=$(date --rfc-3339=date) +rssDate="$postDate"T00:00:00Z + +# create link to post on blog.html +sed -i "s/