templates/ -> resources/views/

This commit is contained in:
Ben Word
2017-04-03 18:26:26 -06:00
parent 0fab46fe14
commit 700a556c02
25 changed files with 41 additions and 38 deletions

View File

@@ -0,0 +1,18 @@
@extends('layouts.app')
@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()) @php(the_post())
@include ('partials.content-'.(get_post_type() !== 'post' ? get_post_type() : get_post_format()))
@endwhile
{!! get_the_posts_navigation() !!}
@endsection