aboutsummaryrefslogtreecommitdiff
path: root/blog/index.php
diff options
context:
space:
mode:
authorHannah Isopod <me@bathynomus.xyz>2026-09-06 00:49:22 -0600
committerHannah Isopod <me@bathynomus.xyz>2026-09-06 00:49:22 -0600
commitc0572bdb1aa1f3aa055f7895aca524630f08498d (patch)
tree2ed0c3eb8c58c8b1ac905e581fd04433496a3251 /blog/index.php
parent3bb9c3a0f2023d131e773b3d799e9efb61333e5a (diff)
whoopsers! forgot to commit for some months!
Diffstat (limited to 'blog/index.php')
-rw-r--r--blog/index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/blog/index.php b/blog/index.php
index 7c8ccfb..afc020b 100644
--- a/blog/index.php
+++ b/blog/index.php
@@ -11,7 +11,7 @@ error_reporting(E_ALL);
$nostag = empty($stag);
?>
<?php include($_SERVER['DOCUMENT_ROOT'] . '/boilerplate.php'); ?>
- <title><?php if(!$nostag) { echo("#$stag | ");} ?> isoblog | isopod.cool v4</title>
+ <title><?php if(!$nostag) { echo("#$stag | ");} ?> isoblog | <?php echo($_SERVER['HTTP_HOST']);?></title>
<link href="/style.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
@@ -63,6 +63,7 @@ error_reporting(E_ALL);
}
$dt = substr($entry->published, 0, 10);
$ti = $entry->title;
+ $au = $entry->author->name;
$wn = "";
if(preg_match('/2022-0(5|4)-(21|25|13)/', $dt)) {
$wn = "title=\"This post is on the archived v2 version of the site. It will not load if you don't have Javascript enabled, and expect jank if viewing on mobile. You have been warned.\" ";
@@ -73,7 +74,7 @@ error_reporting(E_ALL);
$cats = $cats."<a class='entrytag' href='?tag=".$term."'>".$term."</a>";
}
- echo "<li class='blogentry'><time class='entrydate'>".$dt."</time><h4 class='entrytitle'><a ".$wn."href='".$entry->link["href"]."'>".$ti."</h4></a><p class='entrysummary'>".$entry->summary."</p><p>".$cats."</p></li>";
+ echo "<li class='blogentry'><p class='entrydateauthor'><time class='entrydate'>".$dt."</time> • By ".$au."<h4 class='entrytitle'><a ".$wn."href='".$entry->link["href"]."'>".$ti."</h4></a><p class='entrysummary'>".$entry->summary."</p><p>".$cats."</p></li>";
}
}
echo "</ul>";