<xf:macro id="article" extends="featured_content_item::article"
	arg-feature="!"
	arg-content="!"
	arg-snippetLength="{{ 0 }}">

	<xf:extension id="links">
		<xf:extensionparent />
		<a href="{$feature.content_link}">{{ phrase('view_full_post') }} &raquo;</a>
	</xf:extension>

	<xf:extension id="meta">
		<xf:extensionparent />

		<xf:set var="$post" value="{$content.FirstPost}" />

		<li>
			<a href="{{ link('threads/post', $content, {'post_id': $post.post_id}) }}" class="u-concealed" rel="nofollow"
				aria-label="{{ phrase('share')|for_attr }}"
				data-xf-init="share-tooltip" data-href="{{ link('posts/share', $post) }}">

				<xf:fa icon="fa-share-alt" />
			</a>
		</li>

		<xf:if is="$xf.options.embedCodeShare AND method_exists($post, 'getEmbedCodeHtml')">
			<li class="u-hidden js-embedCopy">
				<xf:macro id="share_page_macros::share_clipboard_text"
					arg-class="u-concealed"
					arg-text="{$content.getEmbedCodeHtml()}"
					arg-successText="{{ phrase('embed_code_html_copied_to_clipboard') }}" />
			</li>
		</xf:if>

		<xf:if is="$content.reply_count">
			<li class="articlePreview-replies">
				<a href="{$feature.content_link}" title="{{ phrase('replies:')|for_attr }} {$content.reply_count|number}">
					<xf:fa icon="fa-comment" class="u-spaceAfter" /><span class="articlePreview-repliesLabel">{{ phrase('replies:') }} </span>{$content.reply_count|number}
				</a>
			</li>
		</xf:if>
	</xf:extension>
</xf:macro>

<xf:macro id="simple" extends="featured_content_item::simple"
	arg-feature="!"
	arg-content="!"
	arg-snippetLength="{{ 0 }}">

	<xf:extension id="extra">
		<xf:extensionparent />

		<div class="contentRow-minor contentRow-minor--hideLinks">
			{{ phrase('replies:') }} {$content.reply_count|number_short}
		</div>
	</xf:extension>
</xf:macro>

<xf:macro id="carousel" extends="featured_content_item::carousel"
	arg-feature="!"
	arg-content="!"
	arg-snippetLength="{{ 0 }}">

	<xf:extension id="meta">
		<xf:extensionparent />

		<li>{{ phrase('replies:') }} {$content.reply_count|number}</li>
	</xf:extension>
</xf:macro>