changed inline @php directive to full form (#2042)

closes #2012
This commit is contained in:
Charalambos Poulikidis
2018-03-28 01:38:28 +03:00
committed by QWp6t
parent f2c47cf41b
commit be1b8887f4
13 changed files with 21 additions and 21 deletions

View File

@@ -1,4 +1,4 @@
<article @php(post_class())>
<article @php post_class() @endphp>
<header>
<h2 class="entry-title"><a href="{{ get_permalink() }}">{{ get_the_title() }}</a></h2>
@if (get_post_type() === 'post')
@@ -6,6 +6,6 @@
@endif
</header>
<div class="entry-summary">
@php(the_excerpt())
@php the_excerpt() @endphp
</div>
</article>