some css tweaks and other minor improvements/fixes
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<!--RENDERED IN {{ (microtime(true) - LARAVEL_START) }} SECONDS-->
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
@@ -12,7 +13,22 @@
|
||||
<meta property="og:site_name" content="w0bm.com" />
|
||||
<meta property="og:title" content="@if(isset($video)){{$video->videotitle}}@endif">
|
||||
@if(auth()->check())<meta property="og:description" content="Tags:@if(isset($video)) {{ $video->getTagListAttribute() }} @endif">@endif
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif/>
|
||||
@if(isset($video))
|
||||
@if(count($video->tags))
|
||||
@foreach($video->tags as $tag)
|
||||
@if($tag == 'sfw')
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/beta/{{str_replace(".webm","",$video->file)}}.png"@endif/>
|
||||
@elseif($tag == 'nsfw')
|
||||
@if(file_exists(public_path() . 'thumbs/blurred/{{$video->file}}' . '_blurred.png'))
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/blurred/{{str_replace(".webm","",$video->file)}}_blurred.png"@endif/>
|
||||
@else
|
||||
{{$video->blurryThumb()}}
|
||||
<meta property="og:image" content="@if(isset($video))/thumbs/blurred/{{str_replace(".webm","",$video->file)}}_blurred.png"@endif/>
|
||||
@endif
|
||||
@endif
|
||||
@endforeach
|
||||
@endif
|
||||
@endif
|
||||
@if(auth()->check())<meta property="og:video" content="@if(isset($video))/b/{{ $video->file }} @endif">@endif
|
||||
<meta property="og:url" content="@if(isset($video))/{{ $video->id }}@endif">
|
||||
<meta property="og:video:type" content="video/webm">
|
||||
|
Reference in New Issue
Block a user