🔍️ Posts: Use latest h-entry microformat (#3115)

This commit is contained in:
Ben Word
2023-01-23 19:46:47 -07:00
committed by GitHub
parent 4b8c96cc56
commit 9a915f9175
2 changed files with 6 additions and 6 deletions

View File

@@ -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>