<div class="clearfix post-holder" data-id="{{ post_id }}"{{#language}} lang="{{language}}"{{/language}}>
    <div class="post-type-icon">
        {{#network_icon}}
            {{#is_twitter}} <a href='https://www.twitter.com' target="_blank"> {{/is_twitter}}
            {{^has_custom_icon}}
                <i class="{{#social_icon}}fab{{/social_icon}} {{^social_icon}}fas{{/social_icon}} {{network_icon}}"></i>
            {{/has_custom_icon}}
            {{#has_custom_icon}}
                <img src="{{network_icon}}" class="img-responsive"></i>
            {{/has_custom_icon}}
            {{#is_twitter}} </a> {{/is_twitter}}
        {{/network_icon}}
    </div>

    {{#image}}
    <a {{#modified_url}} href="{{ modified_url }}" {{/modified_url}} target="_blank" style="text-decoration:none;display:block;" class="urlLink">
        <div class="post-image">
            {{^has_embed}}
                <img class="lazy" src="https://cdn.hypemarks.com/assets/misc/gray.png" data-original="{{ image }}" alt="{{#alternative_text}}{{alternative_text}}{{/alternative_text}}{{^alternative_text}}{{#hue_tags_des}}{{ hue_tags_des }}{{/hue_tags_des}}{{^hue_tags_des}}{{ title }}{{/hue_tags_des}}{{/alternative_text}}">
                <noscript><img src="{{ image }}"></noscript>
                <div class="post-triangle">
                </div>
            {{/has_embed}}

            {{#has_embed}}
                {{#inline_video_playback}}
                    <div class="post-embed {{#is_video_embed}}video-embed{{/is_video_embed}}" {{^is_video_embed}}style="background-image: url('{{ image }}'); background-size: contain; background-position: center; background-repeat: no-repeat; background-color: black;"{{/is_video_embed}}></div>
                {{/inline_video_playback}}
            {{/has_embed}}
        </div>
    </a>
    {{/image}}

    {{^text_only}}
        {{#has_cta}}
            <div class="cta">
                <button class="cta-btn">
                    <span data-url="{{cta_url}}" class="cta-text font-secondary"> {{cta_text}}</span>
                    <i class="fas fa-chevron-right"/></i>
                </button>
            </div>
        {{/has_cta}}
    {{/text_only}}

    <div class="post-content" data-url="{{ modified_url }}">
        <div class="post-text">
            <div class="post-title font-secondary fontsize-secondary fontcolor_post">
                <a {{#modified_url}} href="{{ modified_url }}" {{/modified_url}} target="_blank" class="heading urlLink">
                    <span class="post-quotation-mark">&#8220;</span>{{ title }}<span class="post-quotation-mark">&#8221;</span>
                </a>
            </div>

            {{#retweeted_by}}
            <div class="post-retweet-status fontcolor_post">
                <i class="fas fa-retweet-alt"></i>
                <span class="retweeted-by">{{ retweeted_by }}</span>
            </div>
            {{/retweeted_by}}

            <div class="post-timestamp">
                <a class="post-timeago" {{#modified_url}} href="{{ modified_url }}" target="_blank" {{/modified_url}} class="accentColor" style="text-decoration:none;"  title="{{ isotimestamp }}">{{ timeago }}</a>
                {{^socialEngagementsActive}}
                <div class="chiclet chiclet-left accentColor tweet-actions">
                    <a class="accentColor" href="https://twitter.com/intent/tweet?in_reply_to={{ tweet_post_id }}" aria-label="Reply to this tweet. Opens in new window." onclick="return !window.open(this.href, 'Twitter', 'width=500,height=300')" target="_blank">
                        <i class="fas fa-reply"></i>
                    </a>
                    <a class="accentColor" href="https://twitter.com/intent/retweet?tweet_id={{ tweet_post_id }}" aria-label="Re-tweet this tweet. Opens in new window." onclick="return !window.open(this.href, 'Twitter', 'width=500,height=300')" target="blank">
                        <i class="fas fa-retweet-alt"></i>
                    </a>
                    <a class="accentColor" href="https://twitter.com/intent/favorite?tweet_id={{ tweet_post_id }}" aria-label="Like this tweet. Opens in new window." onclick="return !window.open(this.href, 'Twitter', 'width=500,height=300')" target="_blank">
                        <i class="fas fa-heart"></i>
                    </a>
                </div>
                {{/socialEngagementsActive}}
                {{#socialEngagementsActive}}
                    <div class="post-social-engagement">
                        {{#is_youtube}}
                            <span class="post-social-engagment-icon">
                                <i class="fal fa-thumbs-up"></i>{{likes_count}}
                            </span>
                            <span class="post-social-engagment-icon">
                                <i class="fas fa-eye"></i>{{views_count}}
                            </span>
                            <span class="post-social-engagment-icon">
                                <i class="fal fa-comment"></i>{{replies_count}}
                            </span>
                        {{/is_youtube}}
                        {{#is_instagram}}
                            <span class="post-social-engagment-icon">
                                <i class="fal fa-thumbs-up"></i>{{likes_count}}
                            </span>
                            <span class="post-social-engagment-icon">
                                <i class="fal fa-comment"></i>{{replies_count}}
                            </span>
                        {{/is_instagram}}
                        {{#is_twitter}}
                            <span class="post-social-engagment-icon">
                                <i class="fas fa-heart"></i>{{likes_count}}
                            </span>
                            <span class="post-social-engagment-icon">
                                <i class="far fa-retweet"></i>{{shares_count}}
                            </span>
                        {{/is_twitter}}
                        {{#is_facebook}}
                            <span class="post-social-engagment-icon">
                                <i class="fal fa-thumbs-up"></i>{{likes_count}}
                            </span>
                            <span class="post-social-engagment-icon">
                                <i class="fal fa-comment"></i>{{replies_count}}
                            </span>
                        {{/is_facebook}}
                    </div>
                    {{/socialEngagementsActive}}

            </div>
            <div class="post-description">
                <a {{#modified_url}} href="{{ modified_url }}" {{/modified_url}} target="_blank" class="urlLink">
                    {{^retweeted_by}}
                        {{ description }}
                    {{/retweeted_by}}
                </a>
            </div>
        </div>
        <div class="post-footer">
            <div class="post-share">
                <div class="chiclet chiclet-right">
                    {{{ shareTooltip }}}
                </div>
            </div>
            {{#acct_name}}
                <div class="post-acct">
                    <a class="post-acct-img" {{#acct_url}}href="{{ acct_url }}" target="_blank"{{/acct_url}}>
                        <img src="{{ acct_image }}" onerror="this.style.display='none';" />
                    </a>

                    <a class="names" {{#acct_url}}href="{{ acct_url }}" target="_blank"{{/acct_url}}>
                        <b>{{ acct_name }}</b><br />{{{ acct_byline_html }}}
                    </a>
                </div>
            {{/acct_name}}
        </div>
    </div>
    {{#text_only}}
        {{#has_cta}}
            <div class="cta">
                <button class="cta-btn">
                    <span data-url="{{cta_url}}" class="cta-text font-secondary"> {{cta_text}}</span>
                    <i class="fas fa-chevron-right"/></i>
                </button>
            </div>
        {{/has_cta}}
    {{/text_only}}
</div>
