30 lines
1.7 KiB
HTML
30 lines
1.7 KiB
HTML
<div id="page-meta" class="t30">
|
||
<p>
|
||
<!-- Look the author details up from the site config. -->
|
||
{% assign author = site.data.authors[page.author] %}
|
||
<!-- Output author details if some exist. -->
|
||
{% if author %}
|
||
<span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name" class="pr20 icon-edit"><a href="{{ author.url }}" target="_blank"> {{ author.name }}</a></span>
|
||
</span>
|
||
{% endif %}
|
||
|
||
{% if page.date %}
|
||
<time class="icon-calendar pr20" datetime="{{ page.date | date: "%Y-%m-%d" }}" itemprop="datePublished"> {{ page.date | date: "%Y-%m-%d" }}</time>
|
||
{% endif %}
|
||
|
||
{% if page.categories %}<span class="icon-archive pr20"> {{ page.categories | join: ' · ' | upcase }}{% endif %}</span>
|
||
<br>
|
||
<span class="pr20">{% for tag in page.tags %}<span class="icon-price-tag pr10"> {{tag}}</span> {% endfor %}</span>
|
||
</p>
|
||
|
||
<div id="post-nav" class="row">
|
||
|
||
{% if page.previous.url %}
|
||
<div class="small-5 columns"><a class="button small radius prev" href="{{ site.url }}{{page.previous.url}}">« {{page.previous.title}}</a></div><!-- /.small-4.columns -->
|
||
{% endif %}
|
||
<div class="small-2 columns text-center"><a class="radius button small" href="{{ site.url }}{{ site.blog_root }}archive/" title="Blog {{ site.data.language.archive }}">{{ site.data.language.archive }}</a></div><!-- /.small-4.columns -->
|
||
{% if page.next.url %}
|
||
<div class="small-5 columns text-right"><a class="button small radius next" href="{{ site.url }}{{page.next.url}}">{{page.next.title}} »</a></div><!-- /.small-4.columns -->
|
||
{% endif %}
|
||
</div>
|
||
</div><!-- /.page-meta -->
|