post.ejs 706 B

123456789101112131415161718192021
  1. <main role="main" class="bg-dark2" >
  2. <%- partial('_partial/logo', { created_by : false }) %>
  3. <div class="container">
  4. <div class="row">
  5. <div class="col-12 post-content">
  6. <h1><%- page.title %></h1>
  7. <p><small>Created by <%- page.author %> in <%- date(page.date, 'M/D/YYYY HH:MM') %></small></p>
  8. <%- page.content %>
  9. <!-- <% var keys = Object.keys(page); %>
  10. <ul>
  11. <% keys.forEach(key => { %>
  12. <li><%- key %></li>
  13. <% }); %>
  14. </ul> -->
  15. </div>
  16. </div>
  17. </div>
  18. <%- partial('_partial/footer') %>
  19. </main>