Skip to content

Commit

Permalink
Update FeedController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker authored Apr 26, 2023
1 parent 7004055 commit 660aad2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/FeedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public function __invoke(string $module)
'title' => TypiCMS::title().''.$page->title,
'description' => strip_tags($page->body),
'language' => TypiCMS::localeAndRegion('-'),
'image' => $page->present()->image(1200, 630),
'image' => $page->image !== null ? $page->present()->image(1200, 630) : null,
];

return new Feed(
Expand Down

0 comments on commit 660aad2

Please # to comment.