X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/71167426bb5196483b85ebcaecc33745bcfa25b6..refs/pull/3555/head:/resources/views/pages/show.blade.php diff --git a/resources/views/pages/show.blade.php b/resources/views/pages/show.blade.php index 86b0d3f88..2a71c6021 100644 --- a/resources/views/pages/show.blade.php +++ b/resources/views/pages/show.blade.php @@ -1,24 +1,36 @@ -@extends('tri-layout') +@extends('layouts.tri') + +@push('social-meta') + +@endpush @section('body') -
- @include('partials.breadcrumbs', ['crumbs' => [ + -
-
- @include('pages.pointer', ['page' => $page]) - @include('pages.page-display') +
+
+ @include('pages.parts.pointer', ['page' => $page]) + @include('pages.parts.page-display')
-
+ + + @include('entities.sibling-navigation', ['next' => $next, 'previous' => $previous]) @if ($commentsEnabled) -
+ @if(($previous || $next)) +
+
+
+ @endif + + @@ -29,7 +41,7 @@ @if($page->tags->count() > 0)
- @include('components.tag-list', ['entity' => $page]) + @include('entities.tag-list', ['entity' => $page])
@endif @@ -37,49 +49,48 @@
{{ trans('entities.pages_attachments') }}
- @foreach($page->attachments as $attachment) - - @endforeach + @include('attachments.list', ['attachments' => $page->attachments])
@endif @if (isset($pageNav) && count($pageNav)) - + @endif - @include('partials.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) + @include('entities.book-tree', ['book' => $book, 'sidebarTree' => $sidebarTree]) @stop @section('right')
{{ trans('common.details') }}
-