We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit f0d86cdb authored by Jean Baptiste Favre's avatar Jean Baptiste Favre Committed by mattl

Add 'twitter:title' meta tag support.

parent ade8c699
......@@ -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();
Markdown is supported
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