diff --git a/.gitignore b/.gitignore index e00c845..ac19178 100644 --- a/.gitignore +++ b/.gitignore @@ -23,6 +23,9 @@ Homestead.yaml npm-debug.log yarn-error.log .npmrc +.zshrc +.npm/ +.composer/ # Ignore public favicon /public/android-chrome-192x192.png diff --git a/resources/views/fo/layout.blade.php b/resources/views/fo/layout.blade.php index d8565c8..eb7aedb 100644 --- a/resources/views/fo/layout.blade.php +++ b/resources/views/fo/layout.blade.php @@ -26,11 +26,9 @@ @if ( !is_null(request()->route()) && !in_array(request()->route()->getName(), - ['fo.homepage', 'fo.tips.show', 'fo.recipes.show'])) + ['fo.homepage', 'fo.tips.show', 'fo.recipes.show', 'fo.news.show'])) @if (request()->route()->getName() == 'fo.product.show')
- @elseif (request()->route()->getName() == 'fo.news.show') -
@else
@endif diff --git a/resources/views/fo/pages/news/post.blade.php b/resources/views/fo/pages/news/post.blade.php index 062564f..dfb86fa 100644 --- a/resources/views/fo/pages/news/post.blade.php +++ b/resources/views/fo/pages/news/post.blade.php @@ -1,4 +1,4 @@ -@extends('fo.layout', ['brParam' => $news]) +@extends('fo.layout') @section('title', $news->seo_title) @section('description', $news->seo_description) @@ -23,22 +23,27 @@
-
+
-
-

{{ $news->title }}

+
+ @include('modules.breadcrumbs.breadcrumb-body', ['brParam' => $news] )
-
- @foreach ($news->categories as $category) -
- {{ $category->label }} -
- @endforeach -
-
-

{{ $news->subtitle }}

+
+
+

{{ $news->title }}

+
+
+ @foreach ($news->categories as $category) +
+ {{ $category->label }} +
+ @endforeach +
+
+

{{ $news->subtitle }}

+