<article id="<%= post.layout %>-<%= post.slug %>" class="article article-type-<%= post.layout %>" itemscope itemprop="blogPost">
  <!-- CARD BODY -->
  <div class="card">
  <!-- GALLERY -->
    <%- partial('post/gallery') %>
  <!-- HEADER -->
    <% if (post.link || post.title){ %>
       <%if (post.image){%>
      <header class="article-header" style="padding-top: 70px; background: url(<%= post.image %>) no-repeat center center; ">
        <%- partial('post/title_shadow', {class_name: 'article-title'}) %>
      </header>
      <%} else {%>
      <header class="article-header">
        <%- partial('post/title', {class_name: 'article-title'}) %>
      </header>
      <%}%>
    <% } %>
    <div class="article-meta">
      <%- partial('post/date', {class_name: '', date_format: null}) %>
      , cat: <%- partial('post/category') %>
    </div>
    <!-- BODY -->
    <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>
    <!-- /BODY -->
    <!-- FOOTER -->
    <footer class="article-footer">
      <!-- <a data-url="<%- post.permalink %>" data-id="<%= post._id %>" class="article-share-link"><%= __('share') %></a> -->
      <a href=""><i class="material-icons right grey-text text-darken-2">share</i></a>
      <% if (post.comments && config.disqus_shortname){ %>
        <a href="<%- post.permalink %>#disqus_thread" class="article-comment-link"><%= __('comment') %></a>
      <% } %>
      <%- partial('post/tag') %>
    </footer>
    <!-- FOOTER -->
  </div>
  <!-- NEXT AND PREV POSTS -->
  <% if (!index){ %>
    <%- partial('post/nav') %>
  <% } %>
</article>
<!-- DISQUS -->
<% 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>
<% } %>