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