1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2025-03-04 18:48:21 +00:00
pixelfed/resources/views/profile/show.blade.php

34 lines
1.3 KiB
PHP
Raw Normal View History

2019-02-11 12:33:23 -07:00
@extends('layouts.app',['title' => $profile->username . " on " . config('app.name')])
2018-05-29 20:38:21 -06:00
@section('content')
2018-11-08 21:38:43 -07:00
@if (session('error'))
<div class="alert alert-danger text-center font-weight-bold mb-0">
{{ session('error') }}
</div>
@endif
2018-05-29 20:38:21 -06:00
2019-05-13 00:09:30 -06:00
<profile profile-id="{{$profile->id}}" profile-username="{{$profile->username}}" :profile-settings="{{json_encode($settings)}}" profile-layout="{{$profile->profile_layout ?? 'metro'}}"></profile>
2019-04-11 14:17:18 -06:00
@if($profile->website)
<a class="d-none" href="{{$profile->website}}" rel="me">{{$profile->website}}</a>
@endif
@endsection
2019-02-11 12:33:23 -07:00
@push('meta')<meta property="og:description" content="{{$profile->bio}}">
2019-03-07 13:51:20 -07:00
@if(false == $settings['crawlable'] || $profile->remote_url)
<meta name="robots" content="noindex, nofollow">
2019-04-01 23:56:01 -06:00
@else <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()}}' rel='alternate' type='application/activity+json'>
@endif
@endpush
@push('scripts')
2019-02-11 12:33:23 -07:00
<script type="text/javascript" src="{{ mix('js/profile.js') }}"></script>
2019-03-25 22:22:25 -06:00
<script type="text/javascript" src="{{ mix('js/compose.js') }}"></script>
<script type="text/javascript">
2019-02-11 12:33:23 -07:00
new Vue({
el: '#content'
});
</script>
@endpush