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

31 lines
1 KiB
PHP
Raw Normal View History

2019-02-11 19:33:23 +00:00
@extends('layouts.app',['title' => $profile->username . " on " . config('app.name')])
2018-05-30 02:38:21 +00:00
@section('content')
2018-11-09 04:38:43 +00:00
@if (session('error'))
<div class="alert alert-danger text-center font-weight-bold mb-0">
{{ session('error') }}
</div>
@endif
2018-05-30 02:38:21 +00:00
2019-03-07 20:51:20 +00:00
<profile profile-id="{{$profile->id}}" :profile-settings="{{json_encode($settings)}}"></profile>
2018-05-30 02:38:21 +00:00
@endsection
2019-02-11 19:33:23 +00:00
@push('meta')<meta property="og:description" content="{{$profile->bio}}">
<meta property="og:image" content="{{$profile->avatarUrl()}}">
<link href="{{$profile->permalink('.atom')}}" rel="alternate" title="{{$profile->username}} on PixelFed" type="application/atom+xml">
2019-03-07 20:51:20 +00:00
@if(false == $settings['crawlable'] || $profile->remote_url)
<meta name="robots" content="noindex, nofollow">
@endif
@endpush
@push('scripts')
2019-02-11 19:33:23 +00:00
<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script>
2019-03-26 04:22:25 +00:00
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
<script type="text/javascript">
2019-02-11 19:33:23 +00:00
new Vue({
el: '#content'
});
</script>
@endpush