{{Theme::extend('page-timeline-before-post-editor')}}

@if(Auth::check() and ($page->isOwner() or $page->present()->isAdmin() or $page->present()->isEditor()))
    {{Theme::section('post.editor.main', [
    'offPrivacy' => true,
    'type' => 'page',
    'page_id' => $page->id,
    'privacy' => 1,
    'hideAvatar' => true
    ])}}
@endif

{{Theme::extend('page-timeline-after-post-editor')}}

<div data-type="page-{{$page->id}}" data-offset=""  id="post-list">

    @foreach($posts as $post)
        {{Theme::section('post.media', ['post' => $post])}}
    @endforeach
</div>

