1
0
Fork 0
forked from mirror/pixelfed
pixelfed/resources/views/status/show.blade.php

35 lines
1.2 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>
2018-11-09 05:29:28 +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()}}"></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')
2018-11-09 05:29:28 +00:00
<meta property="og:description" content="{{ $status->caption }}">
<meta property="og:image" content="{{$status->mediaUrl()}}">
<link href='{{$status->url()}}' rel='alternate' type='application/activity+json'>
2019-03-01 06:38:48 +00:00
<meta name="twitter:card" content="summary_large_image">
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