X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/08c034059523d345de80f5ebd28843700a8bc4c8..063591ce4b064ed149aad58f0c619895c9ae4014:/page.php diff --git a/page.php b/page.php index 14b58db..d4404fd 100644 --- a/page.php +++ b/page.php @@ -173,6 +173,7 @@ $Place = [ if (!isset($Article->raw) and $User->admin("edit {$Article->link}")) { # open template as initial contents $Article->raw(file_exists("$Page/template.inc.html") ? "$Page/template.inc.html" : 'template.inc.html'); + $Article->meta['article:published_time'] = date('Y-m-d h:i:s O'); $Article->meta['article:author'] = '/' . $User->dir; }