summaryrefslogblamecommitdiff
path: root/_includes/post-card.liquid
blob: 2f79eadd7842e069133936bc3fe02f43301936fd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13












                                                             
                                                  



                                   
                                       
            
                              

                                       
                                           

                              
                                 


                
<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.excerpt | truncatewords: 50 }}
        </div>
    </div>
    <footer class="card-footer">
        <a class="card-footer-item"
           href="/{{ post.permalink }}"
           >
           Continue reading...
        </a>
            <a class="card-footer-item"
               href="/{{ post.permalink }}"
               target="_blank"
               >
               Read in new tab...
            </a>
    </footer>
</div>