diff --git a/resources/views/articles/show.blade.php b/resources/views/articles/show.blade.php index fe80491..435acb4 100644 --- a/resources/views/articles/show.blade.php +++ b/resources/views/articles/show.blade.php @@ -21,7 +21,7 @@
featured_image}}); filter: brightness(50%);">
+ style="background-image: url({{($article->featured_image == "images/noimg.jpg") ? "https://karudhaas.synetecs.io/images/noimg.jpg" : $article->featured_image}}); filter: brightness(50%);">

{{$article->title}}

@@ -60,12 +60,12 @@
@foreach ($article->body as $key => $block)

- + {{$block}}

@break($key == 2) - +

@endforeach
@@ -84,7 +84,7 @@
@foreach ($article->topics as $topic) - + {{$topic->name}} @@ -95,4 +95,4 @@
- \ No newline at end of file + diff --git a/resources/views/ogimage.blade.php b/resources/views/ogimage.blade.php index 113355f..bfcbcf4 100644 --- a/resources/views/ogimage.blade.php +++ b/resources/views/ogimage.blade.php @@ -54,7 +54,7 @@
- Karudhaas logo
@@ -82,4 +82,4 @@
- \ No newline at end of file +