]>
Commit | Line | Data |
---|---|---|
7c673cae FG |
1 | <div class="post"> |
2 | {% assign author = site.data.authors[page.author] %} | |
3 | <header class="post-header"> | |
4 | {% if author.fbid %} | |
5 | <div class="authorPhoto"> | |
6 | <img src="http://graph.facebook.com/{{ author.fbid }}/picture/" alt="{{ author.fullname }}" title="{{ author.fullname }}" /> | |
7 | </div> | |
8 | {% endif %} | |
9 | {% if author.full_name %} | |
10 | <p class="post-authorName">{{ author.full_name }}</p> | |
11 | {% endif %} | |
12 | <h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1> | |
13 | <p class="post-meta">Posted {{ page.date | date: '%B %d, %Y' }}{% if page.meta %} • {{ page.meta }}{% endif %}</p> | |
14 | </header> | |
15 | ||
16 | <article class="post-content"> | |
17 | {% if include.truncate %} | |
18 | {% if page.content contains '<!--truncate-->' %} | |
19 | {{ page.content | split:'<!--truncate-->' | first | markdownify }} | |
20 | <div class="read-more"> | |
21 | <a href="{{ page.url | absolute_url }}" > | |
22 | Read More | |
23 | </a> | |
24 | </div> | |
25 | {% else %} | |
26 | {{ page.content | markdownify }} | |
27 | {% endif %} | |
28 | {% else %} | |
29 | {{ content }} | |
30 | {% endif %} | |
31 | {% unless include.truncate %} | |
32 | {% include plugins/like_button.html %} | |
33 | {% endunless %} | |
34 | </article> | |
35 | </div> |