First pass at Blade templating
This commit is contained in:
20
templates/search.blade.php
Normal file
20
templates/search.blade.php
Normal file
@@ -0,0 +1,20 @@
|
||||
@extends('layouts.base')
|
||||
|
||||
@section('content')
|
||||
@include('partials.page-header')
|
||||
|
||||
@if(!have_posts())
|
||||
<div class="alert alert-warning">
|
||||
{{ __('Sorry, no results were found.', 'sage') }}
|
||||
</div>
|
||||
{!! get_search_form(false) !!}
|
||||
@endif
|
||||
|
||||
@while(have_posts())
|
||||
{!! the_post() !!}
|
||||
@include('partials.content-search')
|
||||
@endwhile
|
||||
|
||||
{{ get_the_posts_navigation() }}
|
||||
|
||||
@endsection
|
||||
Reference in New Issue
Block a user