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

63 lines
2.4 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>
2017-08-28 19:25:46 +00:00
<span class="post-date" itemprop="datePublished" content="{{ page.date | date: "%Y-%m-%d" }}">
2017-09-12 05:19:17 +00:00
<i class="fa fa-calendar" title="Date de publication">
<a class="permalink" href="{{ site.url }}{{ page.url }}" itemprop="url" title="Lien permanent vers ce texte">{{ page.date | date_to_string }}</a> </i>
2017-08-28 19:25:46 +00:00
</span>
{% if page.modified.size > 2 %}
{% assign moddate = page.modified | date_to_string %}
{% assign pgdate = page.date | date_to_string %}
2018-12-03 02:25:29 +00:00
{% unless moddate == pgdate %}
2017-09-12 05:19:17 +00:00
<span class="post-date" itemprop="dateModified" content="{{ page.modified | date: "%Y-%m-%d" }}"><i class="fa fa-edit" title="Date de modification"> {{ page.modified | date_to_string }}</i></span>
2017-08-28 19:25:46 +00:00
{% endunless %}
{% endif %}
<span class="post-tags" itemprop="keywords" content="{{ page.tags | array_to_sentence_string }}">
{% for tag in page.categories %}
{% if forloop.first %}
<i class="fa fa-tags" title="page tags"></i>
{% endif %}
{{ tag }}
{% 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 %}
2017-08-31 00:03:19 +00:00
<div class="authors">Par
{% for author in page.authors %}{% assign found = false %}
{% for page in site.pages %}{% if page.title == author %}<a href="{{ page.url }}"><i class=""> </i> {{ author }}</a>{% assign found = true %}{% endif %}{% endfor %}{% unless found %}{{ author }}{% endunless %}{% unless forloop.last %}, {% endunless %}
2017-08-31 00:03:19 +00:00
{% endfor %}
</div>
2017-08-27 18:12:25 +00:00
{% 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 %}
2018-12-03 02:25:29 +00:00
<a class="prevnext-item older" href="{{site.url}}{{page.previous.url}}" title="{{ page.previous.title }}">Older</a>
2017-08-08 19:53:28 +00:00
{% else %}
<span class="prevnext-item older">Older</span>
{% endif %}
{% if page.next.url %}
2018-12-03 02:25:29 +00:00
<a class="prevnext-item older" href="{{site.url}}{{page.next.url}}" title="{{ page.next.title }}">Newer</a>
2017-08-08 19:53:28 +00:00
{% 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 %}