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 --- misc/tools.php | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 misc/tools.php (limited to 'misc') diff --git a/misc/tools.php b/misc/tools.php new file mode 100644 index 0000000..e301c55 --- /dev/null +++ b/misc/tools.php @@ -0,0 +1,27 @@ + $limit - 1) + break; + $file = $entries[$i][1]; + $age = $entries[$i][2]; + printf('%s%s
', + $path, $file, str_replace("-", " ", $file), + $age ? $age : "¯\_(ツ)_/¯"); + } + } +?> -- cgit v1.2.1