mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-05-04 18:08:46 +03:00
Split out each sidebar block into their own template for easier customization of those elements, and less code to manage when overriding the parent show/index views.
16 lines
513 B
PHP
16 lines
513 B
PHP
@extends('layouts.tri')
|
|
|
|
@section('body')
|
|
@include('books.parts.list', ['books' => $books, 'view' => $view, 'listOptions' => $listOptions])
|
|
@stop
|
|
|
|
@section('left')
|
|
@include('books.parts.index-sidebar-section-recents', ['recents' => $recents])
|
|
@include('books.parts.index-sidebar-section-popular', ['popular' => $popular])
|
|
@include('books.parts.index-sidebar-section-new', ['new' => $new])
|
|
@stop
|
|
|
|
@section('right')
|
|
@include('books.parts.index-sidebar-section-actions', ['view' => $view])
|
|
@stop
|