pixelfed/resources/views/status/show.blade.php

26 lines
854 B
PHP
Raw Normal View History

2018-06-05 04:09:48 +00:00
@extends('layouts.app',['title' => $user->username . " posted a photo: " . $status->likes_count . " likes, " . $status->comments_count . " comments" ])
2018-05-30 02:33:27 +00:00
@section('content')
2018-06-14 00:54:27 +00:00
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'>
@endpush
@push('scripts')
<script type="text/javascript">
$(document).ready(function() {
new Vue({
el: '#content'
});
});
</script>
@endpush