1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-24 08:44:02 +00:00
pixelfed/resources/views/status/show.blade.php

39 lines
1.5 KiB
PHP
Raw Normal View History

2019-03-01 06:38:48 +00:00
@extends('layouts.app',['title' => "A post by " . $user->username])
2018-05-30 02:33:27 +00:00
@section('content')
2019-02-11 05:51:11 +00:00
<noscript>
<div class="card">
<div class="card-body container text-center font-weight-bold">
This website requires javascript, please enable it and refresh the page.
</div>
</div>
</noscript>
<div class="mt-md-4"></div>
2019-04-18 00:59:04 +00:00
<post-component status-template="{{$status->viewType()}}" status-id="{{$status->id}}" status-username="{{$status->profile->username}}" status-url="{{$status->url()}}" status-profile-url="{{$status->profile->url()}}" status-avatar="{{$status->profile->avatarUrl()}}" status-profile-id="{{$status->profile_id}}" profile-layout="{{$status->profile->profile_layout ?? 'metro'}}"></post-component>
2018-08-10 04:29:56 +00:00
2018-05-30 02:33:27 +00:00
2018-06-02 23:47:06 +00:00
@endsection
@push('meta')
<meta property="og:description" content="{{ $status->caption }}">
2019-10-26 16:48:41 +00:00
<meta property="og:image" content="{{$status->thumb()}}">
<link href='{{$status->url()}}' rel='alternate' type='application/activity+json'>
<meta name="twitter:card" content="summary_large_image">
2019-10-26 16:48:41 +00:00
@if($status->viewType() == "video" || $status->viewType() == "video:album")
<meta property="og:video" content="{{$status->mediaUrl()}}">
@endif
2018-11-09 05:29:28 +00:00
@endpush
@push('scripts')
2019-02-11 05:51:11 +00:00
<script type="text/javascript" src="{{ mix('js/status.js') }}"></script>
2019-03-26 04:22:25 +00:00
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
2018-11-09 05:29:28 +00:00
<script type="text/javascript">
$(document).ready(function() {
new Vue({
el: '#content'
});
});
</script>
@endpush