From 1bc1454b9312e4322d486437055408d1ff35fb22 Mon Sep 17 00:00:00 2001 From: Squibid Date: Mon, 30 Oct 2023 12:47:55 -0400 Subject: New blog entry and changes to how blogs are displayed - blogs are now in subdirs - blog list is generated through helper function - full blog list is in blog subdir --- blog/It's-Alive!.html | 10 ---------- blog/It's-Alive!/index.html | 10 ++++++++++ blog/What-is-a-squibid/index.html | 20 ++++++++++++++++++++ blog/index.php | 35 ++++++++++++++++++++++++++++++++++ blog/librex-and-dots.html | 24 ----------------------- blog/librex-and-dots/index.html | 24 +++++++++++++++++++++++ blog/newblog | 24 ++++++++++++++--------- blog/rss.xml | 40 +++++++++++++++++++++++++++++++++------ blog/state-of-the-site.html | 19 ------------------- blog/state-of-the-site/index.html | 19 +++++++++++++++++++ 10 files changed, 157 insertions(+), 68 deletions(-) delete mode 100644 blog/It's-Alive!.html create mode 100644 blog/It's-Alive!/index.html create mode 100644 blog/What-is-a-squibid/index.html create mode 100644 blog/index.php delete mode 100644 blog/librex-and-dots.html create mode 100644 blog/librex-and-dots/index.html delete mode 100644 blog/state-of-the-site.html create mode 100644 blog/state-of-the-site/index.html (limited to 'blog') diff --git a/blog/It's-Alive!.html b/blog/It's-Alive!.html deleted file mode 100644 index f55f224..0000000 --- a/blog/It's-Alive!.html +++ /dev/null @@ -1,10 +0,0 @@ - -It's Alive! - - -

- Cloning via http(s) now works! -

- btw I will be posting my dotfiles soontm -

- diff --git a/blog/It's-Alive!/index.html b/blog/It's-Alive!/index.html new file mode 100644 index 0000000..f55f224 --- /dev/null +++ b/blog/It's-Alive!/index.html @@ -0,0 +1,10 @@ + +It's Alive! + + +

+ Cloning via http(s) now works! +

+ btw I will be posting my dotfiles soontm +

+ diff --git a/blog/What-is-a-squibid/index.html b/blog/What-is-a-squibid/index.html new file mode 100644 index 0000000..39daa3c --- /dev/null +++ b/blog/What-is-a-squibid/index.html @@ -0,0 +1,20 @@ + + + + 'What is a squibid?' + + + +

+ Recently, a few people have been asking me: "what is a squibid?" or + "where did your name come from?". In this blog post I will answer those + questions. +
+
+ A few years ago I came up with a drawing of an animal + reason to do anything with it, but regardless I chose to name it a + squibid. Eventually, when trying to find a good username I chose squibid + because that would cover both the username and profile picture. +

+ + diff --git a/blog/index.php b/blog/index.php new file mode 100644 index 0000000..d60a42d --- /dev/null +++ b/blog/index.php @@ -0,0 +1,35 @@ + + + + Squibid's Blog + + + + + + +
+
+

+ Squibid's Blog +

+
+
+

+ +

+

+ subscribe +

+
+ + diff --git a/blog/librex-and-dots.html b/blog/librex-and-dots.html deleted file mode 100644 index 5bff21f..0000000 --- a/blog/librex-and-dots.html +++ /dev/null @@ -1,24 +0,0 @@ - -librex and dots - - -

-Hello! -

-In my first post -state of the site I -talked about a searxng instance however I found something better! I am now -running a librex instance @ -https://librex.squi.bid. My only modification to the site is changing the theme -to the mellow theme. -

-As for my dots. I have continued to update my Neovim dotfiles, and I am -currently in the process of making some MPV dot files. After I am done with -my MPV config I'll get to work on putting together a git repo with my dotfiles -(using submodules for the bigger parts of the config like Neovim). -

-I will also soon be setting up a Matrix account (not instance) but for now -feel free to email me. - -

- diff --git a/blog/librex-and-dots/index.html b/blog/librex-and-dots/index.html new file mode 100644 index 0000000..5bff21f --- /dev/null +++ b/blog/librex-and-dots/index.html @@ -0,0 +1,24 @@ + +librex and dots + + +

+Hello! +

+In my first post +state of the site I +talked about a searxng instance however I found something better! I am now +running a librex instance @ +https://librex.squi.bid. My only modification to the site is changing the theme +to the mellow theme. +

+As for my dots. I have continued to update my Neovim dotfiles, and I am +currently in the process of making some MPV dot files. After I am done with +my MPV config I'll get to work on putting together a git repo with my dotfiles +(using submodules for the bigger parts of the config like Neovim). +

+I will also soon be setting up a Matrix account (not instance) but for now +feel free to email me. + +

+ diff --git a/blog/newblog b/blog/newblog index ea69701..4ab27ba 100755 --- a/blog/newblog +++ b/blog/newblog @@ -1,23 +1,29 @@ #!/bin/sh # generate a base blog file -read -p "Enter name of blog: " name -filename="$(echo $name | sed 's/ /-/g').html" +printf "Enter name of blog entry: " +read -r name +filename="$(echo "$name" | sed 's/ /-/g')" -# make sure we don't overwrite an existent file -[ -f $filename ] && - printf "File already exists! Please choose a different filename.\n"; exit 1 +# make sure we don't overwrite an existing file +if [ -f "$filename" ]; then + printf "Blog entry already exists! Please choose a different name.\n" + exit 1 +fi -printf ' +mkdir "$filename" +cat > "$filename/index.html" << EOF + - '$name' + '$name' +

-' > $filename -$EDITOR $filename +EOF +[ "$EDITOR" ] && $EDITOR "$filename/index.html" || vim "$filename/index.html" echo "Make sure to run sup to add to rss feed!" diff --git a/blog/rss.xml b/blog/rss.xml index 2dd53ad..3654882 100644 --- a/blog/rss.xml +++ b/blog/rss.xml @@ -11,10 +11,38 @@ + +What is a squibid? +https://squi.bid/blog/What-is-a-squibid/index.html +https://squi.bid/blog/What-is-a-squibid/index.html +Mon, 30 Oct 2023 12:47:05 -0400 + + + + 'What is a squibid?' + + + +

+ Recently, a few people have been asking me: "what is a squibid?" or + "where did your name come from?". In this blog post I will answer those + questions. +
+
+ A few years ago I came up with a drawing of an animal + reason to do anything with it, but regardless I chose to name it a + squibid. Eventually, when trying to find a good username I chose squibid + because that would cover both the username and profile picture. +

+ +]]>
+
+ + librex and dots -https://squi.bid/blog/librex-and-dots.html -https://squi.bid/blog/librex-and-dots.html +https://squi.bid/blog/librex-and-dots +https://squi.bid/blog/librex-and-dots Tue, 27 Jun 2023 12:17:35 -0400 @@ -43,8 +71,8 @@ feel free to email me. It's Alive! -https://squi.bid/blog/It's-Alive!.html -https://squi.bid/blog/It's-Alive!.html +https://squi.bid/blog/It's-Alive! +https://squi.bid/blog/It's-Alive! Mon, 17 Apr 2023 13:22:03 +0000 @@ -58,8 +86,8 @@ feel free to email me. state of the site -https://squi.bid/blog/state-of-the-site.html -https://squi.bid/blog/state-of-the-site.html +https://squi.bid/blog/state-of-the-site +https://squi.bid/blog/state-of-the-site Sat, 11 Mar 2023 15:00:32 -0500 diff --git a/blog/state-of-the-site.html b/blog/state-of-the-site.html deleted file mode 100644 index 6196a42..0000000 --- a/blog/state-of-the-site.html +++ /dev/null @@ -1,19 +0,0 @@ - -state of the site - - -

-Hello o/, and welcome to my website!
-As of right now I am still setting things up, I have a git server running but I am -still working on getting cloning to work via https. On top of the git server I also -have a cgit instance which I have gotten close to perfect (for some reason the site -is only sometimes in darkmode). -

-As of right now that is all I've got running but I might be setting up a SearXNG -instance soon. -

-However somethings that I will never put on my server are:
- - social media frontend's eg: invious, and mastadon
- - probably some other things that I can't think about right now
-

- diff --git a/blog/state-of-the-site/index.html b/blog/state-of-the-site/index.html new file mode 100644 index 0000000..6196a42 --- /dev/null +++ b/blog/state-of-the-site/index.html @@ -0,0 +1,19 @@ + +state of the site + + +

+Hello o/, and welcome to my website!
+As of right now I am still setting things up, I have a git server running but I am +still working on getting cloning to work via https. On top of the git server I also +have a cgit instance which I have gotten close to perfect (for some reason the site +is only sometimes in darkmode). +

+As of right now that is all I've got running but I might be setting up a SearXNG +instance soon. +

+However somethings that I will never put on my server are:
+ - social media frontend's eg: invious, and mastadon
+ - probably some other things that I can't think about right now
+

+ -- cgit v1.2.1