From 94b172f85c1b992f3a8eda4722f33c2e5186a5df Mon Sep 17 00:00:00 2001 From: Raquelle Fahle Date: Sun, 11 Jun 2017 19:43:20 -0500 Subject: [PATCH] Remove post format reference in template call --- resources/views/index.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/index.blade.php b/resources/views/index.blade.php index f91575c..c532f3f 100644 --- a/resources/views/index.blade.php +++ b/resources/views/index.blade.php @@ -11,7 +11,7 @@ @endif @while (have_posts()) @php(the_post()) - @include ('partials.content-'.(get_post_type() !== 'post' ? get_post_type() : get_post_format())) + @include ('partials.content-'.(get_post_type() !== 'post' ?: get_post_type())) @endwhile {!! get_the_posts_navigation() !!}