Skip to content

Commit

Permalink
🔍️ Posts: Use latest h-entry microformat (#3115)
Browse files Browse the repository at this point in the history
  • Loading branch information
retlehs authored Jan 24, 2023
1 parent d644887 commit 353a607
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions resources/views/partials/content-single.blade.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<article @php(post_class())>
<article @php(post_class('h-entry'))>
<header>
<h1 class="entry-title">
<h1 class="p-name">
{!! $title !!}
</h1>

@include('partials.entry-meta')
</header>

<div class="entry-content">
<div class="e-content">
@php(the_content())
</div>

Expand Down
6 changes: 3 additions & 3 deletions resources/views/partials/entry-meta.blade.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<time class="updated" datetime="{{ get_post_time('c', true) }}">
<time class="dt-published" datetime="{{ get_post_time('c', true) }}">
{{ get_the_date() }}
</time>

<p class="byline author vcard">
<p>
<span>{{ __('By', 'sage') }}</span>
<a href="{{ get_author_posts_url(get_the_author_meta('ID')) }}" rel="author" class="fn">
<a href="{{ get_author_posts_url(get_the_author_meta('ID')) }}" class="p-author h-card">
{{ get_the_author() }}
</a>
</p>

0 comments on commit 353a607

Please sign in to comment.