mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 02:01:40 +09:00
Fix #1663 add meta tag for author
This commit is contained in:
parent
b7c3aa1790
commit
4bf232569c
7 changed files with 19 additions and 0 deletions
|
|
@ -611,6 +611,13 @@ class HTMLDisplayHandler
|
|||
}
|
||||
}
|
||||
|
||||
// Add author name for articles.
|
||||
if ($page_type === 'article' && $permitted && config('seo.og_use_nick_name'))
|
||||
{
|
||||
Context::addMetaTag('author', $oDocument->getNickName());
|
||||
Context::addOpenGraphData('og:article:author', $oDocument->getNickName());
|
||||
}
|
||||
|
||||
// Add datetime for articles.
|
||||
if ($page_type === 'article' && $permitted && config('seo.og_use_timestamps'))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue