parse(file_get_contents($filename)); $yml = $document->getYAML(); $content = $document->getContent(); $title = $yml["title"] ?? "invalid"; $date = htmlspecialchars($yml["date"]); $author_name = htmlspecialchars($yml["author_name"]); if (isset($yml["author_link"])) { $author_link = htmlspecialchars($yml["author_link"]); $author = "$author_name"; } else { $author = $author_name; } if (isset($yml["original_link"])): $original_link = htmlspecialchars($yml["original_link"]); endif; $description = "journal entry {$entry_name}: {$yml["title"]} by {$author}"; include __DIR__."/../header.php"; ?> < back to list

draft" ?>

author:

date:


Originally published at .


basename($entry, ".md"), "yml" => $parser->parse(file_get_contents($entry))->getYAML(), ]; } ?>

journal entries