forked from GNUsocial/gnu-social
Add 'twitter:title' meta tag support.
This commit is contained in:
parent
ade8c6992e
commit
f0d86cdb64
@ -136,6 +136,8 @@ class AttachmentAction extends Action
|
||||
null );
|
||||
$this->element('meta', array('name' => 'twitter:image',
|
||||
'content' => $this->attachment->url));
|
||||
$this->element('meta', array('name' => 'twitter:title',
|
||||
'content' => $this->attachment->title));
|
||||
|
||||
$ns = new AttachmentNoticeSection($this);
|
||||
$notices = $ns->getNotices();
|
||||
|
Loading…
Reference in New Issue
Block a user