62 lines
2.4 KiB
HTML
62 lines
2.4 KiB
HTML
---
|
||
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 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>
|
||
</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="Date de modification"> {{ 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.categories %}
|
||
{% if forloop.first %}
|
||
<i class="fa fa-tags" title="page tags"></i>
|
||
{% endif %}
|
||
{{ tag }}
|
||
{% unless forloop.last %} • {% endunless %}
|
||
{% endfor %}</span>
|
||
{% unless page.show_meta == false %}
|
||
{% include meta_info.html %}
|
||
{% endunless %}
|
||
{% if page.authors %}
|
||
<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 %}
|
||
{% endfor %}
|
||
</div>
|
||
{% endif %}
|
||
|
||
{{ content }}
|
||
|
||
</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 %}
|