gergelypolonkai-web-jekyll/_includes/blog-post.html

50 lines
1.3 KiB
HTML
Raw Normal View History

2016-06-28 11:05:17 +00:00
<article class="{% if page.post_listing %}col-sm-5 col-md-6 {% endif%}post">
{% if page.post_listing %}
2015-04-22 16:11:35 +00:00
<ul class="list-inline">
<li class="col-md-8">
{% endif %}
<header class="post-header">
2017-01-02 10:12:10 +00:00
{% if page.tag %}
<h5>
{% else %}
2015-04-22 16:11:35 +00:00
<h3>
2017-01-02 10:12:10 +00:00
{% endif %}
2016-06-28 11:05:17 +00:00
{% if page.post_listing %}
2015-04-22 16:11:35 +00:00
<a href="{{post.url | prepend: site.baseurl}}">
{% endif %}
{{post.title}}
2016-06-28 11:05:17 +00:00
{% if page.post_listing %}
2015-04-22 16:11:35 +00:00
</a>
{% endif %}
2016-06-28 11:02:16 +00:00
{% if layout.render_post %}
2015-04-22 16:11:35 +00:00
<div class="plusone-container"><div class="g-plusone" data-annotation="inline" data-size="small" data-width="300"></div></div>
{% endif %}
2017-01-02 10:12:10 +00:00
{% if page.tag %}
</h5>
{% else %}
2015-04-22 16:11:35 +00:00
</h3>
2017-01-02 10:12:10 +00:00
{% endif %}
2015-04-22 23:28:28 +00:00
<div class="meta pull-left">
{{post.author.name}}
2015-04-22 16:11:35 +00:00
</div>
2015-04-22 23:28:28 +00:00
<div class="meta pull-right">
2015-04-22 16:11:35 +00:00
{{post.date | date: "%b %-d, %Y :: %H:%M"}}
</div>
<div class="clearfix"></div>
</header>
<main>
2016-06-28 11:02:16 +00:00
{% if layout.render_post %}
2015-04-22 16:11:35 +00:00
{{content}}
{% else %}
{{post.excerpt}}
{% endif %}
</main>
{% include tag-link.html %}
2016-06-28 11:02:16 +00:00
{% if layout.post_listing %}
2015-04-22 16:11:35 +00:00
</li>
</ul>
{% endif %}
</article>