2020-05-16 16:27:03 +02:00
|
|
|
<article id="<%= post.layout %>-<%= post.slug %>" class="article article-type-<%= post.layout %> container-typographic" itemscope itemprop="blogPost">
|
2020-05-16 15:19:46 +02:00
|
|
|
<div class="article-inner">
|
|
|
|
<%- partial('post/gallery') %>
|
|
|
|
<% if (post.link || post.title){ %>
|
2020-05-16 17:54:24 +02:00
|
|
|
<div class="article-header">
|
2020-05-16 15:19:46 +02:00
|
|
|
<%- partial('post/title', {class_name: 'article-title'}) %>
|
2020-05-16 17:54:24 +02:00
|
|
|
</div>
|
2020-05-16 15:19:46 +02:00
|
|
|
<% } %>
|
|
|
|
<div class="article-entry" itemprop="articleBody">
|
|
|
|
<% if (post.excerpt && index){ %>
|
|
|
|
<%- post.excerpt %>
|
|
|
|
<% if (theme.excerpt_link){ %>
|
|
|
|
<p class="article-more-link">
|
|
|
|
<a href="<%- url_for(post.path) %>#more"><%= theme.excerpt_link %></a>
|
|
|
|
</p>
|
|
|
|
<% } %>
|
|
|
|
<% } else { %>
|
|
|
|
<%- post.content %>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|
|
|
|
|
2020-05-16 16:27:03 +02:00
|
|
|
<% if (!index){ %>
|
|
|
|
<%- partial('post/nav') %>
|
|
|
|
<% } %>
|
|
|
|
|
|
|
|
<section class="card card-noheader">
|
|
|
|
<div class="author-area">
|
|
|
|
<img src="/img/avatar.png" class="author-avatar" alt="avatar">
|
|
|
|
<div class="author-metadata">
|
|
|
|
<div class="author-pseudo">Écrit par <a href="https://kazhnuz.space">Kazhnuz</a></div>
|
|
|
|
<small class="author-date">Le <%= date(post.date, "dddd DD MMMM YYYY, hh:mm:ss") %></small>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<%- partial('post/category') %>
|
|
|
|
</section>
|
|
|
|
|
2020-05-16 15:19:46 +02:00
|
|
|
<footer class="article-footer">
|
|
|
|
<% if (post.comments && config.disqus_shortname){ %>
|
|
|
|
<a href="<%- post.permalink %>#disqus_thread" class="article-comment-link"><%= __('comment') %></a>
|
|
|
|
<% } %>
|
|
|
|
<%- partial('post/tag') %>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<% if (!index && post.comments && config.disqus_shortname){ %>
|
|
|
|
<section id="comments">
|
|
|
|
<div id="disqus_thread">
|
|
|
|
<noscript>Please enable JavaScript to view the <a href="//disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<% } %>
|