@extends('layouts.app') @section('content') @if($block_count === 0)

{{ __('About Pressbooks', 'aldine')}}

{{ __('Pressbooks is easy-to-use book writing software that lets you create a book in all the formats you need to publish.', 'aldine')}}

@elseif($block_count < 5) @for($i = 0; $i < $block_count; $i++)
@php(dynamic_sidebar($home_blocks[$i]))
@endfor @elseif($block_count === 5)
@for($i = 0; $i < 2; $i++)
@php(dynamic_sidebar($home_blocks[$i]))
@endfor
@for($i = 2; $i < $block_count; $i++)
@php(dynamic_sidebar($home_blocks[$i]))
@endfor @endif @endsection