From 821781b0b14f63e9364d3a99220544e8cc9dc703 Mon Sep 17 00:00:00 2001 From: Gustavo Luigi <=> Date: Tue, 9 Jan 2024 17:56:39 -0300 Subject: [PATCH] add general meta tags --- content/includes/meta.blade.php | 38 +++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 16 deletions(-) diff --git a/content/includes/meta.blade.php b/content/includes/meta.blade.php index 6a9ac77..7772a52 100644 --- a/content/includes/meta.blade.php +++ b/content/includes/meta.blade.php @@ -10,18 +10,12 @@ - - - - - - - - + +@if(Route::currentRouteName() == 'index') + -@if(Route::currentRouteName() == 'index') - +@elseif(Route::currentRouteName() == 'page.show') @@ -31,10 +25,14 @@ - + + +@elseif(Route::currentRouteName() == 'lists.show' and isset($content)) + -@elseif(Route::currentRouteName() == 'content' and isset($content)) + +@elseif(Route::currentRouteName() == 'contents.show' and isset($content)) {{ $content->title }} @@ -44,11 +42,23 @@ + @if ($content->image) @else @endif + + @if($content->type->name == "Vaga") + + @elseif($content->type->name == "Produto") + + @endif + + +@elseif(Route::currentRouteName() == 'contents.show' and isset($author)) + + @else @@ -62,10 +72,6 @@ @endif - - - - @if($_schriftart == "Montserrat")