mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 19:17:45 +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
|
|
@ -95,6 +95,7 @@ class EpisodeCommentController extends BaseController
|
|||
|
||||
if (! ($cachedView = cache($cacheName))) {
|
||||
$data = [
|
||||
'metatags' => get_episode_comment_metatags($this->comment),
|
||||
'podcast' => $this->podcast,
|
||||
'actor' => $this->actor,
|
||||
'episode' => $this->episode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue