Merge pull request #1904 from roots/remove-post-formats

Remove post format reference in template call
This commit is contained in:
Ben Word
2017-06-11 20:42:36 -06:00
committed by GitHub

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