Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove post format reference in template call #1904

Merged
merged 2 commits into from
Jun 12, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update operator for template call
  • Loading branch information
cedarstay committed Jun 12, 2017
commit 870306960724536ab9b1272e3a1369c92a37c606
2 changes: 1 addition & 1 deletion resources/views/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@endif

@while (have_posts()) @php(the_post())
@include ('partials.content-'.(get_post_type() !== 'post' ?: get_post_type()))
@include ('partials.content-'.(get_post_type() === 'post' ?: get_post_type()))
@endwhile

{!! get_the_posts_navigation() !!}
Expand Down