Merge branch 'mastix-master'
This commit is contained in:
commit
4cb4d03184
1 changed files with 2 additions and 2 deletions
|
@ -406,8 +406,8 @@ class ShareController extends Controller {
|
|||
}
|
||||
|
||||
// OpenGraph Support: http://ogp.me/
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:title", 'content' => $this->defaults->getName() . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : '')]);
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:description", 'content' => $this->l10n->t('%s is publicly shared', [$shareTmpl['filename']])]);
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:title", 'content' => $shareTmpl['filename']]);
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:description", 'content' => $this->defaults->getName() . ($this->defaults->getSlogan() !== '' ? ' - ' . $this->defaults->getSlogan() : '')]);
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:site_name", 'content' => $this->defaults->getName()]);
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:url", 'content' => $shareTmpl['shareUrl']]);
|
||||
\OCP\Util::addHeader('meta', ['property' => "og:type", 'content' => "object"]);
|
||||
|
|
Loading…
Reference in a new issue