mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
5932490
This commit is contained in:
@@ -22,7 +22,7 @@ class InternArticleView extends Component
|
|||||||
return view('livewire.news.intern-article-view')->layout('layouts.app', [
|
return view('livewire.news.intern-article-view')->layout('layouts.app', [
|
||||||
'SEOData' => new SEOData(
|
'SEOData' => new SEOData(
|
||||||
title: $this->libraryItem->name,
|
title: $this->libraryItem->name,
|
||||||
description: $this->libraryItem->excerpt ?? __('Here we post important news that is relevant for everyone.'),
|
description: strip_tags($this->libraryItem->excerpt) ?? __('Here we post important news that is relevant for everyone.'),
|
||||||
author: $this->libraryItem->lecturer->name,
|
author: $this->libraryItem->lecturer->name,
|
||||||
image: $this->libraryItem->getFirstMedia('main') ? $this->libraryItem->getFirstMediaUrl('main') : asset('img/einundzwanzig-wallpaper-benrath.png'),
|
image: $this->libraryItem->getFirstMedia('main') ? $this->libraryItem->getFirstMediaUrl('main') : asset('img/einundzwanzig-wallpaper-benrath.png'),
|
||||||
published_time: Carbon::parse($this->libraryItem->created_at),
|
published_time: Carbon::parse($this->libraryItem->created_at),
|
||||||
|
|||||||
Reference in New Issue
Block a user