post.ejs 606 B

123456789101112131415161718192021
  1. <% if (page.image){ %>
  2. <%- partial('_partial/hero', { image : `/images/hero/blog/${page.image.feature}` }) %>
  3. <% } %>
  4. <div class="container up-spacer bottom-spacer-lg">
  5. <div class="row">
  6. <div class="col-12">
  7. <% if (page.path){ %>
  8. <h1>
  9. <a href="<%- url_for(page.path) %>" itemprop="url"><%= page.title %></a>
  10. </h1>
  11. <% } else if (page.title){ %>
  12. <h1><%= page.title %></h1>
  13. <% } %>
  14. <div class="article-content" itemprop="articleBody">
  15. <%- page.content %>
  16. </div>
  17. </div>
  18. </div>
  19. </div>
  20. <%- partial('_partial/about-author') %>