_includes/post.html (51 lines of code) (raw):

<div class="post"> {% assign author = site.data.authors[page.author] %} <header class="post-header"> {% if author.fbid %} <div class="authorPhoto"> <img src="https://graph.facebook.com/{{ author.fbid }}/picture/" alt="{{ author.fullname }}" title="{{ author.fullname }}" /> </div> {% endif %} {% if author.full_name %} <p class="post-authorName">{{ author.full_name }}</p> {% endif %} <h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1> <p class="post-meta">Posted {{ page.date | date: '%B %d, %Y' }}{% if page.meta %} • {{ page.meta }}{% endif %}</p> </header> <article class="post-content"> {% if include.truncate %} {% if page.content contains '<!--truncate-->' %} {{ page.content | split:'<!--truncate-->' | first | markdownify }} <div class="read-more"> <a href="{{ page.url | absolute_url }}" > Read More </a> </div> {% else %} {{ page.content | markdownify }} {% endif %} {% else %} {{ content }} {% if page.comments %} {% assign wrote_header = false %} {% for comment in page.comments %} {% if wrote_header == false %} <h3> Comments </h3> <br/> <ul> {% assign wrote_header = true %} {% endif %} <li><b>{{ comment.author }}</b>: {{ comment.content }}</li> {% endfor %} {% if wrote_header == true %} </ul> <br/> {% endif %} {% endif %} {% endif %} {% unless include.truncate %} {% include plugins/like_button.html %} {% include plugins/twitter_share.html %} {% endunless %} </article> </div>