1
0
mirror of https://github.com/e107inc/e107.git synced 2025-09-03 03:13:34 +02:00

More rel="noopener" and og: changes.

This commit is contained in:
Cameron
2021-09-25 09:57:18 -07:00
parent 5d0db673e3
commit af0b5dcb84
3 changed files with 7 additions and 5 deletions

View File

@@ -703,10 +703,12 @@ class news_front
$url = e107::getUrl()->create('news/view/item', $news,'full=1');
e107::meta('og:url',$url);
e107::meta('og:updated_time', strtotime('10 minutes ago'));
$modifiedTime = strtotime('30 minutes ago');
e107::meta('og:updated_time', $modifiedTime);
e107::meta('article:section',$news['category_name']);
e107::meta('article:modified_time', date('c', $news['news_datestamp']));
e107::meta('article:section', $news['category_name']);
e107::meta('article:published_time', date('c', $news['news_datestamp']));
e107::meta('article:modified_time', date('c', $modifiedTime));
if($news['news_meta_keywords'] && !defined('META_KEYWORDS'))