aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-09-22 13:32:58 +0200
committerMario Vavti <mario@mariovavti.com>2018-09-22 13:32:58 +0200
commit0a5ac62b59bf80b9942b2b6805aeea3796379d06 (patch)
tree7f8d9d5c3df3490cffef36580dbf6baeb7c056b9 /boot.php
parent1e5405ccaf3ddff88653cc34a04cfce9b7102891 (diff)
parent12d22709353151925797707e0a1c02e3703809bf (diff)
downloadvolse-hubzilla-0a5ac62b59bf80b9942b2b6805aeea3796379d06.tar.gz
volse-hubzilla-0a5ac62b59bf80b9942b2b6805aeea3796379d06.tar.bz2
volse-hubzilla-0a5ac62b59bf80b9942b2b6805aeea3796379d06.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'boot.php')
-rwxr-xr-xboot.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/boot.php b/boot.php
index e8c1355e8..3d583e8c5 100755
--- a/boot.php
+++ b/boot.php
@@ -1119,8 +1119,12 @@ class App {
if(! x(self::$page,'title'))
self::$page['title'] = self::$config['system']['sitename'];
- if(! self::$meta->get_field('og:title'))
- self::$meta->set('og:title',self::$page['title']);
+ $pagemeta = [ 'og:title' => self::$page['title'] ];
+
+ call_hooks('page_meta',$pagemeta);
+ foreach ($pagemeta as $metaproperty => $metavalue) {
+ self::$meta->set($metaproperty,$metavalue);
+ }
self::$meta->set('generator', Zotlabs\Lib\System::get_platform_name());