Fixing double echo's, template cleanup
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
<article {!! 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')
|
||||
@if (get_post_type() === 'post')
|
||||
@include('partials/entry-meta')
|
||||
@endif
|
||||
</header>
|
||||
<div class="entry-summary">
|
||||
{!! the_excerpt() !!}
|
||||
@php the_excerpt() @endphp
|
||||
</div>
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user