Merge pull request #239 from m4sk1n/fix-titles

Fix following/ers page titles
This commit is contained in:
daniel 2018-06-08 22:47:13 -06:00 committed by GitHub
commit bccd01b2dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
@extends('layouts.app',['title' => $user->username . "'s followers"])
@extends('layouts.app',['title' => $profile->username . "'s followers"])
@section('content')
@ -60,6 +60,6 @@
@endsection
@push('meta')
<meta property="og:description" content="{{$user->bio}}">
<meta property="og:image" content="{{$user->avatarUrl()}}">
<meta property="og:description" content="{{$profile->bio}}">
<meta property="og:image" content="{{$profile->avatarUrl()}}">
@endpush

View File

@ -1,4 +1,4 @@
@extends('layouts.app',['title' => $user->username . "'s follows"])
@extends('layouts.app',['title' => $profile->username . "'s follows"])
@section('content')
@ -60,6 +60,6 @@
@endsection
@push('meta')
<meta property="og:description" content="{{$user->bio}}">
<meta property="og:image" content="{{$user->avatarUrl()}}">
<meta property="og:description" content="{{$profile->bio}}">
<meta property="og:image" content="{{$profile->avatarUrl()}}">
@endpush