Alter initial template html to include a link to the current admin,
retained by ckeditor and available in meta for optional crediting of
different sources.
Named according to https://ogp.me/#no_vertical specification, except target
does not contain the required Open Graph profile tags yet.
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');
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)) {
}
if (isset($Article->raw)) {