From 16e48ed8655528a81cbec84f0cbc1a211d663b37 Mon Sep 17 00:00:00 2001 From: Hannah Isopod Date: Sun, 9 Nov 2025 08:58:02 -0700 Subject: Probably final commit before the redesign Routine updates to various pages Accessibility fix in /guestbook Updated /uses im pretty sure Reorganized /blog/ a little under the hood --- blog/post.php | 133 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 blog/post.php (limited to 'blog/post.php') diff --git a/blog/post.php b/blog/post.php new file mode 100644 index 0000000..354472b --- /dev/null +++ b/blog/post.php @@ -0,0 +1,133 @@ +entry as $entry) { + if($entry->id == $cwd) { + $pdate = preg_replace('/T.*$/', ' ', $entry->published); + $udate = preg_replace('/T.*$/', ' ', $entry->updated); + $title = $entry->title; + $descr = htmlspecialchars($entry->summary); + } else if($title) { + $nextlink = $entry->link["href"]; + $nexttitle = $entry->title; + break; + } else { + $prevlink = $entry->link["href"]; + $prevtitle = $entry->title; + } +} +?> + + + + + + + + $title"); + $bgfile = glob('bg.*')[0]; + if(!is_null($bgfile)) { + echo(""); + } + ?> + + + + + isoblog

$title

Posted on $pdate$udates

"); + //echo("

I'm testing in prod right now. don't worry about it"); + + //Boilerplate for Parsedown + include($root."/Parsedown.php"); + $Parsedown = new Parsedown(); + echo $Parsedown->text(file_get_contents("index.md")); + $Parsedown->setSafeMode(true); + $return = $_GET["return"]; + ?> +


+ +
+

Comments

+
+ "; ?> + +
+ + + +
+ +
+ + +
+
+ + + -- cgit v1.2.3