mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 14:33:18 +00:00
18 lines
641 B
PHP
18 lines
641 B
PHP
|
@extends('portfolio.layout', ['title' => "@{$user['username']}'s Portfolio Photo"])
|
||
|
|
||
|
@section('content')
|
||
|
<portfolio-post initial-data="{{json_encode(['profile' => $user, 'post' => $post, 'authed' => $authed ? true : false])}}" />
|
||
|
@endsection
|
||
|
|
||
|
@push('scripts')
|
||
|
<script type="text/javascript" src="{{ mix('js/portfolio.js') }}"></script>
|
||
|
<script type="text/javascript">
|
||
|
App.boot();
|
||
|
</script>
|
||
|
@endpush
|
||
|
|
||
|
@push('meta')<meta property="og:description" content="{{ $post['content_text'] }}">
|
||
|
<meta property="og:image" content="{{ $post['media_attachments'][0]['url']}}">
|
||
|
<meta name="twitter:card" content="summary_large_image">
|
||
|
@endpush
|