diff --git a/blog.html b/blog.php similarity index 65% rename from blog.html rename to blog.php index f9cd986..bcf1767 100644 --- a/blog.html +++ b/blog.php @@ -25,11 +25,18 @@
-
- librex and dots2023/06/27
- It's Alive!2023/05/01
- state of the site2023/03/11
-
+ %s%s
',
+ $matches[0], str_replace("-", " ", $matches[0]),
+ $tags["date"] ? $tags["date"] : "¯\_(ツ)_/¯");
+ }
+ }
+ ?>
Cloning via http(s) now works! diff --git a/blog/librex-and-dots.html b/blog/librex-and-dots.html index 510d8e3..5bff21f 100644 --- a/blog/librex-and-dots.html +++ b/blog/librex-and-dots.html @@ -1,6 +1,6 @@
Hello! diff --git a/blog/newblog b/blog/newblog index 2cd5ca3..ea69701 100755 --- a/blog/newblog +++ b/blog/newblog @@ -11,7 +11,7 @@ filename="$(echo $name | sed 's/ /-/g').html" printf '
diff --git a/blog/state-of-the-site.html b/blog/state-of-the-site.html index a9e689d..6196a42 100644 --- a/blog/state-of-the-site.html +++ b/blog/state-of-the-site.html @@ -1,6 +1,6 @@
Hello o/, and welcome to my website!
diff --git a/blog/style.css b/blog/style.css
deleted file mode 120000
index 5191bf7..0000000
--- a/blog/style.css
+++ /dev/null
@@ -1 +0,0 @@
-../style.css
\ No newline at end of file
diff --git a/genblog b/genblog
deleted file mode 100755
index 12bb7fe..0000000
--- a/genblog
+++ /dev/null
@@ -1,51 +0,0 @@
-#!/bin/sh
-#
-# genblog is a script to take data from my blogs and format it into html for
-# my website
-#
-# by: Squibid
-#
-
-#
-# Helper variables and functions
-#
-bloglist=$(ls -t1 blog/*.html | grep -oP '(?<=\/).*?(?=\.)')
-top5=$(printf "$bloglist\n" | head -5)
-
-blogdate() {
- grep -oP '(?<=\)' "blog/$1.html"
-}
-blogtitle() { grep -oP '(?<=\
My best repos are
-
- If this is here I forgot to generate the blog list.
-
+ 4)
+ break;
+ $tags = get_meta_tags($path.'/'.$file);
+ printf('%s%s
',
+ $matches[0], str_replace("-", " ", $matches[0]),
+ $tags["date"] ? $tags["date"] : "¯\_(ツ)_/¯");
+ $i++;
+ }
+ }
+ ?>