X-Git-Url: http://git.shiar.nl/minimedit.git/blobdiff_plain/5638a5a96b13b91c26f35ac1d860a2c5305e47e9..08c034059523d345de80f5ebd28843700a8bc4c8:/page.php diff --git a/page.php b/page.php index 5aac31f..14b58db 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:author'] = '/' . $User->dir; } if (isset($Article->raw)) {