index template should always pass post type when including content
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
@endif
|
@endif
|
||||||
|
|
||||||
@while (have_posts()) @php(the_post())
|
@while (have_posts()) @php(the_post())
|
||||||
@include ('partials.content-'.(get_post_type() === 'post' ?: get_post_type()))
|
@include('partials.content-'.get_post_type())
|
||||||
@endwhile
|
@endwhile
|
||||||
|
|
||||||
{!! get_the_posts_navigation() !!}
|
{!! get_the_posts_navigation() !!}
|
||||||
|
|||||||
Reference in New Issue
Block a user