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 );
|
null );
|
||||||
$this->element('meta', array('name' => 'twitter:image',
|
$this->element('meta', array('name' => 'twitter:image',
|
||||||
'content' => $this->attachment->url));
|
'content' => $this->attachment->url));
|
||||||
|
$this->element('meta', array('name' => 'twitter:title',
|
||||||
|
'content' => $this->attachment->title));
|
||||||
|
|
||||||
$ns = new AttachmentNoticeSection($this);
|
$ns = new AttachmentNoticeSection($this);
|
||||||
$notices = $ns->getNotices();
|
$notices = $ns->getNotices();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user