summaryrefslogblamecommitdiff
path: root/_includes/post-card.liquid
blob: 558b22783958ef5ce31c676c22bfd53480f14119 (plain) (tree)





























                                                             
<div class="card">
    <header class="card-header">
        <p class="card-header-title">
        {% if post.published_date %}
            {{ post.published_date | date: "%A, %b %e, %Y" }}
        {% endif %}
        </p>
    </header>
    <div class="card-content">
        <p class="subtitle">
        {{ post.title }}
        </p>
        <div class="content">
            {{ post.content | truncatewords: 50 }}
        </div>
    </div>
    <footer class="card-footer">
        <a class="card-footer-item"
           href="{{ post.permalink }}"
           >
           Read more...
        </a>
            <a class="card-footer-item"
               href="{{ post.permalink }}"
               target="_blank"
               >
               Open in new tab...
            </a>
    </footer>
</div>