mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-17 05:27:46 +02:00
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:
parent
5c529a83aa
commit
902f959b30
45 changed files with 449 additions and 354 deletions
|
|
@ -36,6 +36,7 @@ class HomeController extends BaseController
|
|||
|
||||
// default behavior: list all podcasts on home page
|
||||
$data = [
|
||||
'metatags' => get_home_metatags(),
|
||||
'podcasts' => $allPodcasts,
|
||||
];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue