diff --git a/config.json b/config.json index ba2eefd..225e3e9 100644 --- a/config.json +++ b/config.json @@ -77,7 +77,7 @@ "seo_title": "", "seo_description": "", "blade": "produkte", - "content_types": ["Produkte"] + "content-types": ["Produkte"] }, { "name": "Neuigkeiten", @@ -88,7 +88,7 @@ "seo_title": "", "seo_description": "", "blade": "neuigkeiten", - "content_types": ["News"] + "content-types": ["News"] }, { "name": "FAQ", @@ -99,7 +99,7 @@ "seo_title": "", "seo_description": "", "blade": "faq", - "content_types": ["Fragen & Antworten"] + "content-types": ["Fragen & Antworten"] } ] } diff --git a/content/contents/news.blade.php b/content/contents/news.blade.php index 2d5033f..5c8d62a 100644 --- a/content/contents/news.blade.php +++ b/content/contents/news.blade.php @@ -8,7 +8,7 @@ data-new-url="{{route_content($content)}}" data-new-title="{{$content->title}}" data-new-date="{{date('Y-m-d h:i:s', strtotime($content->created_at))}}" - data-author-url="{{route('author.get', [$content->user->slug])}}" + data-author-url="{{route('content', [$content->user->slug])}}" data-author-name="{{$content->user->name}}" data-author-image="{{$content->user->gravatar()}}" >