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