From b2375481ffab2d955b72c96071db2762618f5cbf Mon Sep 17 00:00:00 2001 From: Samuel De Backer Date: Sat, 6 Apr 2019 17:59:32 +0200 Subject: [PATCH] json-ld --- src/resources/views/public/_json-ld.blade.php | 29 +++++++++++++++++++ .../views/public/_list-item.blade.php | 1 + src/resources/views/public/show.blade.php | 2 ++ 3 files changed, 32 insertions(+) create mode 100644 src/resources/views/public/_json-ld.blade.php diff --git a/src/resources/views/public/_json-ld.blade.php b/src/resources/views/public/_json-ld.blade.php new file mode 100644 index 0000000..48f37a3 --- /dev/null +++ b/src/resources/views/public/_json-ld.blade.php @@ -0,0 +1,29 @@ + diff --git a/src/resources/views/public/_list-item.blade.php b/src/resources/views/public/_list-item.blade.php index 88d97cf..6ca1ac2 100644 --- a/src/resources/views/public/_list-item.blade.php +++ b/src/resources/views/public/_list-item.blade.php @@ -1,3 +1,4 @@ +@include('news::public._json-ld', ['model' => $news])
  • diff --git a/src/resources/views/public/show.blade.php b/src/resources/views/public/show.blade.php index 9f508db..c8c09e5 100644 --- a/src/resources/views/public/show.blade.php +++ b/src/resources/views/public/show.blade.php @@ -10,6 +10,8 @@ @include('core::public._btn-prev-next', ['module' => 'News', 'model' => $model]) + @include('news::public._json-ld') +

    {{ $model->title }}