From 4df42ab435f7f575db747b2d50cfb0972172381a Mon Sep 17 00:00:00 2001 From: 53hornet Date: Thu, 9 Dec 2021 18:46:55 -0500 Subject: feat: add links index, leftify dates on index --- index.php | 2 +- links/index.php | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 links/index.php diff --git a/index.php b/index.php index b272302..9813128 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,7 @@ include('./includes/head.php'); $post_name = explode('/', $post)[2]; $date = implode('-', array_slice(explode('-', $post_name), 0, 3)); include($post); - printf('
  • %s %s
  • ', $post, $title, $date); + printf('
  • %s %s
  • ', $date, $post, $title); } } } diff --git a/links/index.php b/links/index.php new file mode 100644 index 0000000..a5cf83f --- /dev/null +++ b/links/index.php @@ -0,0 +1,8 @@ + + +

    + If you're going to leave my site to go somewhere else on the web, I recommend linking out via one of these. This is my curated collection of awesome sites, resources, and online assets. +

    -- cgit v1.2.3