2016-10-04 21:31:36 +00:00
|
|
|
<div class="post">
|
|
|
|
<header class="post-header">
|
2018-11-22 04:26:06 +00:00
|
|
|
<div style="display: flex; align-content: center; align-items: center; justify-content: center">
|
|
|
|
{% for author_idx in page.author %}
|
|
|
|
<div style="padding: 16px; display: inline-block; text-align: center">
|
|
|
|
{% assign author = site.data.authors[author_idx] %}
|
|
|
|
{% if author.fbid %}
|
|
|
|
<div class="authorPhoto">
|
|
|
|
<img src="http://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 %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2016-10-04 21:31:36 +00:00
|
|
|
</div>
|
2016-11-08 00:02:48 +00:00
|
|
|
<h1 class="post-title">{% if include.truncate %}<a href="{{ page.url | absolute_url }}">{{ page.title }}</a>{% else %}{{ page.title }}{% endif %}</h1>
|
2016-10-04 21:31:36 +00:00
|
|
|
<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">
|
2016-11-08 00:02:48 +00:00
|
|
|
<a href="{{ page.url | absolute_url }}" >
|
2016-10-04 21:31:36 +00:00
|
|
|
Read More
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
{{ page.content | markdownify }}
|
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{{ content }}
|
|
|
|
{% endif %}
|
|
|
|
{% unless include.truncate %}
|
|
|
|
{% include plugins/like_button.html %}
|
|
|
|
{% endunless %}
|
|
|
|
</article>
|
|
|
|
</div>
|