summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
author53hornet <atc@53hor.net>2021-12-09 18:46:55 -0500
committer53hornet <atc@53hor.net>2021-12-09 18:46:55 -0500
commit4df42ab435f7f575db747b2d50cfb0972172381a (patch)
treed11d86ba9acb1e1a6f0259dd1e5006148a717eaa /index.php
parent1b00dd0ba5fb29e3f97084f3ed335d555eee06e4 (diff)
download53hor-4df42ab435f7f575db747b2d50cfb0972172381a.tar.xz
53hor-4df42ab435f7f575db747b2d50cfb0972172381a.zip
feat: add links index, leftify dates on index
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
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('<li><a href="/%s">%s</a> <code>%s</code></li>', $post, $title, $date);
+ printf('<li> <code>%s</code> <a href="/%s">%s</a> </li>', $date, $post, $title);
}
}
}