Merge pull request #979 from pixelfed/frontend-ui-refactor

Update profile view
This commit is contained in:
daniel 2019-03-07 13:52:02 -07:00 committed by GitHub
commit 420dcb0f77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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