You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
746 B

2 years ago
  1. <div class="row">
  2. <div class="column">
  3. <!-- Main information, edit it on theme/_config.yml -->
  4. <h2 class="mb-2"><%= theme.owner %></h2>
  5. <p><%= theme.info %></p>
  6. <p><%= theme.desc %></p>
  7. </div>
  8. </div>
  9. <h3>Recent Posts</h3>
  10. <% site.posts.sort('date', 'desc').limit(theme.max_post).forEach(function(post){ %>
  11. <div class="row">
  12. <div class="three columns left lit">
  13. <p class="bottom"><%- full_date(post.date, 'll') %></p>
  14. </div>
  15. <div class="nine columns left mb-3">
  16. <a href="<%- url_for(post.path) %>" >
  17. <% if (post.title == "") { %>
  18. no title
  19. <% } else { %>
  20. <%- post.title %>
  21. <% } %>
  22. </a>
  23. </div>
  24. </div>
  25. <% }) %>
  26. <h4> <a href="<%= config.root %>archives">All Posts</a></h4>