pressbooks aldine theme the theme used for the front page or default book
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.4 KiB

7 years ago
@extends('layouts.app')
@section('content')
7 years ago
@debug('controller')
{{ $sidebar_count }}
@if(is_active_sidebar('home-block-one') && is_active_sidebar('home-block-two'))
<div class="one-two">
7 years ago
@endif
<div class="block one">
<div class="inside">
@if(is_active_sidebar('home-block-one'))
@php(dynamic_sidebar('home-block-one'))
@else
7 years ago
<h3>{{ __('About Pressbooks', 'pressbooks-aldine')}}</h3>
<p>{{ __('Pressbooks is easy-to-use book writing software that lets you create a book in all the formats you need to publish.', 'pressbooks-aldine')}}</p>
@endif
</div>
</div>
@if(is_active_sidebar('home-block-two'))
<div class="block two">
<div class="inside">
@php(dynamic_sidebar('home-block-two'))
</div>
</div>
@endif
7 years ago
@if(is_active_sidebar('home-block-one') && is_active_sidebar('home-block-two'))
7 years ago
</div>
7 years ago
@endif
@if(is_active_sidebar('home-block-three'))
<div class="block three">
<div class="inside">
7 years ago
@php(dynamic_sidebar('home-block-three'))
</div>
7 years ago
</div>
@endif
@if(is_active_sidebar('home-block-four'))
<div class="block four">
<div class="inside">
7 years ago
@php(dynamic_sidebar('home-block-four'))
</div>
7 years ago
</div>
@endif
@if(is_active_sidebar('home-block-five'))
<div class="block five">
<div class="inside">
7 years ago
@php(dynamic_sidebar('home-block-five'))
</div>
7 years ago
</div>
@endif
7 years ago
@endsection