70 lines
2.5 KiB
HTML
70 lines
2.5 KiB
HTML
---
|
|
layout: page
|
|
comments: false
|
|
---
|
|
{% include JB/setup %}
|
|
|
|
{% for post in site.posts %}
|
|
{% if forloop.first %}
|
|
|
|
<header>
|
|
<div class="unit-head">
|
|
<div class="unit-inner unit-head-inner">
|
|
<h1 class="h2 entry-title">{{ post.title }}</h1>
|
|
</div><!-- unit-inner -->
|
|
</div><!-- unit-head -->
|
|
</header>
|
|
|
|
<div class="bd">
|
|
<div class="entry-content">
|
|
{{ post.content }}
|
|
<div class="meta">
|
|
<p class="date-publish">
|
|
Published:
|
|
<date class="date-pub" title="{{ post.date | date_to_xmlschema }}" datetime="{{ post.date | date_to_xmlschema }}" pubdate>
|
|
<span class="month"><abbr>{{ post.date | date: '%B' }}</abbr></span>
|
|
<span class="day">{{ post.date | date: '%d' }}</span>
|
|
<span class="year">{{ post.date | date: '%Y' }}</span>
|
|
</date>
|
|
</p>
|
|
<ul class="list-category list-linear">
|
|
<li class="list-head">category: </li>
|
|
{% assign categories_list = post.categories %}
|
|
{% include JB/categories_list %}
|
|
</ul>
|
|
<ul class="list-tag list-linear">
|
|
<li class="list-head">tags: </li>
|
|
{% assign tags_list = post.tags %}
|
|
{% include JB/tags_list %}
|
|
</ul>
|
|
</div><!-- meta -->
|
|
</div><!-- entry-content -->
|
|
<div class="misc-content">
|
|
<div class="social">
|
|
<ul class="list-linear">
|
|
<li><div class="twitter-tweet"><a href="https://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="{{ site.author.twitter }}" data-lang="en">Tweet</a></div></li>
|
|
<li><div class="twitter-follow"><a href="https://twitter.com/{{ site.author.twitter }}" class="twitter-follow-button" data-show-count="false" data-lang="en"></a></div></li>
|
|
</ul>
|
|
</div>
|
|
</div><!-- misc-content -->
|
|
</div><!-- bd -->
|
|
<footer class="unit-foot">
|
|
<div class="unit-inner unit-foot-inner">
|
|
<nav class="pagination">
|
|
<ul>
|
|
{% if post.previous %}
|
|
<li class="prev"><a class="internal" rel="prev" href="{{ post.previous.url }}" title="View {{ post.previous.title }}">« {{ post.previous.title }}</a></li>
|
|
{% endif %}
|
|
{% if post.previous and post.next %}
|
|
<li class="pipe"> | </li>
|
|
{% endif %}
|
|
{% if post.next %}
|
|
<li class="next"><a class="internal" rel="next" href="{{ post.next.url }}" title="View {{ post.next.title }}">{{ post.next.title }} »</a></li>
|
|
{% endif %}
|
|
</ul>
|
|
</nav>
|
|
</div>
|
|
</footer>
|
|
|
|
{% endif %}
|
|
{% endfor %}
|