basic-business-template/content/includes/meta.blade.php

181 lines
6.4 KiB
PHP
Raw Normal View History

2023-12-26 09:01:19 +00:00
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta name="Generator" content="Lumino CMS" />
<meta name="csrf-token" content="{{csrf_token()}}"/>
<meta name="url-base" content="{{url('/')}}">
<link rel="apple-touch-icon" sizes="180x180" href="{{$favicon['180']}}">
<link rel="icon" type="image/png" sizes="32x32" href="{{$favicon['32']}}">
<link rel="icon" type="image/png" sizes="16x16" href="{{$favicon['16']}}">
2024-01-14 16:44:40 +00:00
2023-12-27 16:34:37 +00:00
@if(Route::currentRouteName() == 'index')
2024-01-14 14:56:39 +00:00
<title>{{config('settings.name')}}</title>
<meta name="description" content="{{config('settings.description')}}" />
2024-01-14 10:19:21 +00:00
<meta property="og:url" content="{{url('/')}}">
<meta property="og:type" content="website">
<meta property="og:title" content="{{config('settings.name')}}">
<meta property="og:description" content="{{config('settings.description')}}">
<meta property="og:image" content="{{$cover}}">
<meta name="twitter:card" content="summary_large_image">
<meta property="twitter:domain" content="{{url('/')}}">
2024-03-17 15:40:46 +00:00
<meta property="twitter:url" content="{{url('/')}}">
2024-01-14 10:19:21 +00:00
<meta name="twitter:title" content="{{config('settings.name')}}">
<meta name="twitter:description" content="{{config('settings.description')}}">
<meta name="twitter:image" content="{{$cover}}">
2024-01-17 15:13:15 +00:00
2024-01-12 19:23:02 +00:00
@elseif(str_starts_with(Route::currentRouteName(), 'page.'))
2024-01-14 10:19:21 +00:00
<meta property="og:site_name" content="{{config('settings.name')}}" />
<meta property="og:title" content="{{config('settings.name')}}" />
<meta property="og:description" content="{{config('settings.description')}}" />
<meta property="og:url" content="{{url('/')}}" />
<meta property="og:image" content="{{$cover}}" />
2024-03-17 15:40:46 +00:00
<meta property="og:image:secure_url" content="" />
2024-01-14 10:19:21 +00:00
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content=""/>
2024-01-17 15:13:15 +00:00
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Organization",
"image": "https://www.example.com/example_image.jpg",
2024-03-17 15:48:45 +00:00
"url": "{{url('/')}}",
2024-01-17 15:13:15 +00:00
"sameAs": ["https://example.net/profile/example1234", "https://example.org/example1234"],
"logo": "https://www.example.com/images/logo.png",
2024-03-17 15:48:45 +00:00
"name": "{{$_legal_name}}",
"description": "{{config('settings.description')}}",
"email": "{{config('settings.contact_email')}}",
"telephone": "{{$_telefonnummer}}",
2024-01-17 15:13:15 +00:00
"address": {
"@type": "PostalAddress",
2024-03-17 15:48:45 +00:00
"streetAddress": "{{$_legal_address}}",
"addressLocality": "{{$_legal_city}}",
"addressCountry": "DE",
"addressRegion": "Bayern",
"postalCode": "{{$_legal_zip_code}}"
2024-01-17 15:13:15 +00:00
},
2024-03-17 15:48:45 +00:00
"vatID": "{{$_vat_id}}"
2024-01-17 15:13:15 +00:00
}
2024-01-09 20:56:39 +00:00
@elseif(Route::currentRouteName() == 'lists.show' and isset($content))
<!-- meta tag -->
2023-12-27 16:34:37 +00:00
2024-01-09 20:56:39 +00:00
<!--Content -->
@elseif(Route::currentRouteName() == 'contents.show' and isset($content))
2023-12-27 16:34:37 +00:00
<title>{{ $content->title }}</title>
<meta name="description" content="">
<meta property="og:description" content="">
<meta property="og:type" content="article">
<meta property="article:author" content="{{ $content->user->name }}">
<meta property="article:published_time" content="{{ $content->created_at }}">
<meta property="og:title" content="{{ $content->title}}">
<meta property="og:site_name" content="{{ config('settings.name') }}">
<meta property="og:url" content="{{ \Request::url() }}">
2024-01-09 20:56:39 +00:00
2023-12-27 16:34:37 +00:00
@if ($content->image)
<meta property="og:image" content="{{$content->image}}">
@else
<meta property="og:image" content="{{$content->image}}">
@endif
2024-01-09 20:56:39 +00:00
2024-03-17 15:40:46 +00:00
@if($content->type->name == "Jobs")
2024-03-17 19:47:24 +00:00
<script type="application/ld+json">
2024-03-17 15:40:46 +00:00
{
"@context" : "https://schema.org/",
"@type" : "JobPosting",
"title" : "{{ $content->title}}",
"description" : "{!! $content->einleitung !!} {!! $content->stellenbeschreibung !!} {!! $content->bewerberqualifikation !!} {!! $content->wir_als_arbeitgeber !!}",
"identifier": {
"@type": "PropertyValue",
"name": "{{$_legal_name}}",
"value": "1234567"
},
"datePosted" : "{{ $content->updated_at}} UTC+01:00",
"employmentType" : "CONTRACTOR",
"hiringOrganization" : {
"@type" : "Organization",
"name" : "{{$_legal_name}}",
"sameAs" : "{{url('/')}}",
"logo" : "{{$favicon['180']}}"
},
"jobLocation": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"streetAddress": "{{$_legal_address}}",
"addressLocality": "{{$_legal_city}}",
"addressRegion": "Bayern",
"postalCode": "{{$_legal_zip_code}} ",
"addressCountry": "DE"
}
},
"baseSalary": {
"@type": "MonetaryAmount",
"currency": "EUR",
"value": {
"@type": "QuantitativeValue",
"value": 13.00,
"unitText": "HOUR"
}
}
}
</script>
@elseif($content->type->name == "News")
2024-03-17 19:47:24 +00:00
<script type="application/ld+json">
2024-01-14 16:44:40 +00:00
{
"@context": "https://schema.org",
"@type": "NewsArticle",
"headline": "{{ $content->title}}",
"image": [
"{{ $content->image}}"
],
2024-01-17 09:58:54 +00:00
"datePublished": "{{ $content->created_at}} UTC+01:00",
"dateModified": "{{ $content->updated_at}} UTC+01:00"
2024-01-14 16:44:40 +00:00
}
</script>
2024-01-09 20:56:39 +00:00
@elseif($content->type->name == "Produto")
<!-- meta tag -->
@endif
<!--Author -->
@elseif(Route::currentRouteName() == 'contents.show' and isset($author))
<!-- meta tag -->
2023-12-27 16:34:37 +00:00
@else
<meta property="og:site_name" content="{{config('settings.name')}}" />
<meta property="og:title" content="{{config('settings.name')}}" />
<meta property="og:description" content="{{config('settings.description')}}" />
<meta property="og:url" content="" />
<meta property="og:image" content="{{$cover}}" />
2024-01-13 12:15:51 +00:00
<meta property="og:image:secure_url" content="https://ivv.5ya.de/storage/uploads/site-cover-20240113011232-lg.webp" />
2023-12-27 16:34:37 +00:00
<meta property="og:image:width" content="1280" />
<meta property="og:image:height" content="640" />
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:image" content="" />
@endif
2023-12-26 09:01:19 +00:00
@if($_schriftart == "Montserrat")
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap" rel="stylesheet">
@endif