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; } } if(!$title) { $title = "isoblog placeholder title"; } $udates = ""; if($pdate != $udate) { $udates = " Updated on $udate"; } ?> $title | isopod.cool v4"); //$bgfile = glob('bg.*')[0]; //if(!is_null($bgfile)) { // echo(""); //} ?>

Posted on ".$udates); ?>

I'm testing in prod right now. don't worry about it"); //Boilerplate for Parsedown include_once($root."/Parsedown.php"); $Parsedown = new Parsedown(); $posttext = $Parsedown->text(file_get_contents("index.md")); $posttext = str_replace("

", "

", $posttext); $posttext = str_replace("
", "", $posttext); $posttext = str_replace("

", "

", $posttext); $posttext = str_replace("

", "", $posttext); $posttext = str_replace("

", "

", $posttext); $posttext = str_replace("

", "", $posttext); echo $posttext; $Parsedown->setSafeMode(true); ?>