Update profile view

This commit is contained in:
Daniel Supernault 2019-03-07 13:51:20 -07:00
parent 504d472770
commit bcabf0c76c
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -7,14 +7,14 @@
</div> </div>
@endif @endif
<profile profile-id="{{$profile->id}}"></profile> <profile profile-id="{{$profile->id}}" :profile-settings="{{json_encode($settings)}}"></profile>
@endsection @endsection
@push('meta')<meta property="og:description" content="{{$profile->bio}}"> @push('meta')<meta property="og:description" content="{{$profile->bio}}">
<meta property="og:image" content="{{$profile->avatarUrl()}}"> <meta property="og:image" content="{{$profile->avatarUrl()}}">
<link href="{{$profile->permalink('.atom')}}" rel="alternate" title="{{$profile->username}} on PixelFed" type="application/atom+xml"> <link href="{{$profile->permalink('.atom')}}" rel="alternate" title="{{$profile->username}} on PixelFed" type="application/atom+xml">
@if(false == $settings->crawlable || $profile->remote_url) @if(false == $settings['crawlable'] || $profile->remote_url)
<meta name="robots" content="noindex, nofollow"> <meta name="robots" content="noindex, nofollow">
@endif @endif
@endpush @endpush