Skip to content
Snippets Groups Projects
Commit 302b758d authored by Matthias Meusburger's avatar Matthias Meusburger
Browse files

hotline#16941_Facebook_share: Add main author to title and full image to meta.

parent 489cf4d2
Branches
Tags
4 merge requests!715Master,!664report fix from stable to wip,!663Stable,!657Hotline#16941 facebook share
......@@ -734,9 +734,9 @@ class Class_ScriptLoader {
public function addRecordMeta($record) {
$this->_metas[] = '<meta property="og:title" content="' . $record->getTitrePrincipal() . '" />';
$this->_metas[] = '<meta property="og:title" content="' . $record->getTitrePrincipal() . ' - ' . $record->getAuteurPrincipal() . '" />';
$this->_metas[] = '<meta property="og:description" content="' . $record->getResume() . '" />';
$this->_metas[] = '<meta property="og:image" content="' . $record->fetchUrlVignette() . '" />';
$this->_metas[] = '<meta property="og:image" content="' . $record->fetchUrlImage() . '" />';
return $this;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment