LinkStack/resources/views/layouts/meta.blade.php

16 lines
1.1 KiB
PHP
Raw Normal View History

2022-06-09 22:26:35 +02:00
@if(config('advanced-config.description') != '')<meta name="description" content="{{ config('advanced-config.description') }}">
@elseif(Route::currentRouteName() != 'home')<meta name="description" content="{{ $userinfo->littlelink_description }}">
@else<meta name="description" content="{{ $cleaner_input }}">@endif
2022-06-09 22:26:35 +02:00
@if(config('advanced-config.author') != '')<meta name="author" content="{{ config('advanced-config.author') }}">
@elseif(Route::currentRouteName() != 'home')<meta name="author" content="{{ $userinfo->name }}">@endif
2022-06-09 22:26:35 +02:00
@if(config('advanced-config.viewport') != '')<meta name="viewport" content="{{ config('advanced-config.viewport') }}"/>
@else<meta name="viewport" content="width=device-width, initial-scale=1">@endif
2022-06-09 22:26:35 +02:00
@if(config('advanced-config.robots') != '')<meta name="robots" content="{{ config('advanced-config.robots') }}">@endif
2022-06-09 22:26:35 +02:00
@if(config('advanced-config.canonical_url') != '')<link rel="canonical" href="{{ config('advanced-config.canonical_url') }}">@endif
2022-06-09 22:26:35 +02:00
@if(config('advanced-config.twitter_creator') != '')<meta name="twitter:creator" content="{{ config('advanced-config.twitter_creator') }}">@endif