Fixing double echo's, template cleanup

This commit is contained in:
Kalen Johnson
2016-12-06 15:24:15 -08:00
parent b7742fd86f
commit 3dadb86ec2
14 changed files with 43 additions and 49 deletions

View File

@@ -3,17 +3,16 @@
@section('content')
@include('partials.page-header')
@if(!have_posts())
@if (!have_posts())
<div class="alert alert-warning">
{{ __('Sorry, no results were found.', 'sage') }}
{{ __('Sorry, no results were found.', 'sage') }}
</div>
{{ get_search_form(false) }}
{!! get_search_form(false) !!}
@endif
@while(have_posts())
{!! the_post() !!}
@include('partials.content')
@while (have_posts()) @php the_post() @endphp
@include ('partials.content')
@endwhile
{{ get_the_posts_navigation() }}
{!! get_the_posts_navigation() !!}
@endsection