47 lines
1.1 KiB
HTML
47 lines
1.1 KiB
HTML
<article class="{% if page.post_listing %}col-sm-5 col-md-6 {% endif%}post">
|
|
{% if page.post_listing %}
|
|
<ul class="list-inline">
|
|
<li class="col-md-8">
|
|
{% endif %}
|
|
<header class="post-header">
|
|
{% if page.tag %}
|
|
<h5>
|
|
{% else %}
|
|
<h3>
|
|
{% endif %}
|
|
{% if page.post_listing %}
|
|
<a href="{{ post.url }}">
|
|
{% endif %}
|
|
{{ post.title }}
|
|
{% if page.post_listing %}
|
|
</a>
|
|
{% endif %}
|
|
{% if page.tag %}
|
|
</h5>
|
|
{% else %}
|
|
</h3>
|
|
{% endif %}
|
|
<div class="meta pull-left">
|
|
{{post.author.name}}
|
|
</div>
|
|
<div class="meta pull-right">
|
|
{{post.date | date: "%b %-d, %Y :: %H:%M"}}
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
</header>
|
|
|
|
<main>
|
|
{% if layout.render_post %}
|
|
{{content}}
|
|
{% else %}
|
|
{{post.excerpt}}
|
|
{% endif %}
|
|
</main>
|
|
|
|
{% include tag-link.html %}
|
|
{% if layout.post_listing %}
|
|
</li>
|
|
</ul>
|
|
{% endif %}
|
|
</article>
|