Remove post format reference in template call

This commit is contained in:
Raquelle Fahle
2017-06-11 19:43:20 -05:00
parent 556f08aee4
commit 94b172f85c

View File

@@ -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() !!}