Fixing double echo's, template cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user