/** * @param Container $container */ public function __construct(Container $container) { $this->container = $container; $this->app = $container['app']; $this->metadata = ['title' => $this->app->getSetting('app.name'), 'description' => $this->app->getSetting('app.description'), 'keywords' => $this->app->getSetting('app.keywords')]; }
/** * @param Container $container */ public function __construct(Container $container) { $this->container = $container; $this->app = $container['app']; $this->metadata = ['url' => $this->app->getSetting('app.urls.site'), 'title' => $this->app->getSetting('app.name'), 'description' => $this->app->getSetting('app.description'), 'keywords' => $this->app->getSetting('app.keywords'), 'image' => $this->app->getSetting('app.urls.site') . 'images/og-screenshot.jpg', 'site_name' => $this->app->getSetting('app.name'), 'og_type' => 'website']; }