crazy-toads.github.io/_layouts/post.html

43 lines
2.1 KiB
HTML
Raw Normal View History

2017-08-08 19:53:28 +00:00
---
layout: default
---
<div class="post">
<h1 itemprop="name" class="post-title">{{ page.title }}</h1>
<span class="post-date" itemprop="datePublished" content="{{ page.date | date: "%Y-%m-%d" }}"><i class="fa fa-calendar" title="Date published"> <a class="permalink" href="{{ site.url }}{{ page.url }}" itemprop="url" title="Permanent link to this post">{{ page.date | date_to_string }}</a> </i></span>
{% if page.modified.size > 2 %}{% assign moddate = page.modified | date_to_string %}{% assign pgdate = page.date | date_to_string %}{% unless moddate == pgdate | date_to_string %}<span class="post-date" itemprop="dateModified" content="{{ page.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Last updated"> {{ page.modified | date_to_string }}</i></span>{% endunless %}{% endif %}
<span class="post-tags" itemprop="keywords" content="{{ page.tags | array_to_sentence_string }}">{% for tag in page.tags %}{% if forloop.first %}<i class="fa fa-tags" title="page tags"></i>{% endif %} <a href="{{ site.url }}/tags/#{{ tag | cgi_escape }}" title="Pages tagged {{ tag }}" rel="tag">{{ tag }}</a>{% unless forloop.last %} &bull; {% endunless %}{% endfor %}</span>
{% unless page.show_meta == false %}
{% include meta_info.html %}
{% endunless %}
2017-08-27 18:12:25 +00:00
{% if page.authors %}
<div class="authors">{{ page.authors }}</div>
{% endif %}
2017-08-27 17:56:42 +00:00
2017-08-08 19:53:28 +00:00
{{ content }}
2017-08-27 17:56:42 +00:00
2017-08-08 19:53:28 +00:00
</div>
{% unless page.hide_printmsg == true %}
{% include printmsgposts.html %}
{% endunless %}
<div class="page-break"></div>
<div class="prevnext">
{% if page.previous.url %}
<a class="prevnext-item older" href="{{ site.url }}{{page.previous.url}}" title="{{ page.previous.title }}">Older</a>
{% else %}
<span class="prevnext-item older">Older</span>
{% endif %}
{% if page.next.url %}
<a class="prevnext-item older" href="{{ site.url }}{{page.next.url}}" title="{{ page.next.title }}">Newer</a>
{% else %}
<span class="prevnext-item older">Newer</span>
{% endif %}
</div>
<div class="page-break"></div>
{% if site.disqus_shortname and page.comments == true %}<div id="disqus_thread"></div><!-- /#disqus_thread -->{% endif %}