feat: add schema.org json-ld objects to podcasts, episodes, posts and comments pages

- refactor meta-tags by generating them in the controller and injecting them into the views
- use
`melbahja/seo` library to build opengraph and twitter meta-tags + schema.org objects
This commit is contained in:
Yassine Doghri 2021-11-12 16:31:35 +00:00
commit 902f959b30
45 changed files with 449 additions and 354 deletions

View file

@ -28,7 +28,7 @@ class BaseController extends Controller
ResponseInterface $response,
LoggerInterface $logger
): void {
$this->helpers = array_merge($this->helpers, ['auth', 'svg', 'components', 'misc']);
$this->helpers = array_merge($this->helpers, ['auth', 'svg', 'components', 'misc', 'seo']);
// Do Not Edit This Line
parent::initController($request, $response, $logger);