templates/ -> resources/views/
This commit is contained in:
11
resources/views/partials/content-search.blade.php
Normal file
11
resources/views/partials/content-search.blade.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<article @php(post_class())>
|
||||
<header>
|
||||
<h2 class="entry-title"><a href="{{ get_permalink() }}">{{ get_the_title() }}</a></h2>
|
||||
@if (get_post_type() === 'post')
|
||||
@include('partials/entry-meta')
|
||||
@endif
|
||||
</header>
|
||||
<div class="entry-summary">
|
||||
@php(the_excerpt())
|
||||
</div>
|
||||
</article>
|
||||
Reference in New Issue
Block a user