<div class="news_item_details">
    <div class="news_item_detail news_item_date">
        <span class="news_item_detail_hint">Published:&nbsp;</span>
        <time class="news_item_detail_label" datetime="2019-01-01 17:00:00">January 1, 2019</time>
    </div>
    <div class="news_item_detail news_item_author">
        <span class="news_item_detail_hint">- by&nbsp;</span>
        <span class="news_item_detail_label">Johnny Appleseed</span>
    </div>
</div>
{#
	{% include '@partial-news-details' with {
		item: {
			date: '2019-01-01 17:00:00',
			author: 'Author'
		}
	} %}
#}
<div class="news_item_details">
	{% if item.date %}
		<div class="news_item_detail news_item_date">
			<span class="news_item_detail_hint">Published:&nbsp;</span>
			<time class="news_item_detail_label" datetime="{{ item.date }}">{{ item.date|date('F j, Y') }}</time>
		</div>
	{% endif %}
	{% if item.author %}
		<div class="news_item_detail news_item_author">
			<span class="news_item_detail_hint">- by&nbsp;</span>
			<span class="news_item_detail_label">{{ item.author }}</span>
		</div>
	{% endif %}
</div>

No notes defined.