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.

31 lines
983 B

2 years ago
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. <p>Please note that this is the modern version of my blog. If you want to view my stuff without JS (and a little more retro-looking), you may want to take a look at the <a href="https://blog.kicker.dev">alternative frontend</a>.</p>
  8. </div>
  9. </div>
  10. <h3>Recent Posts</h3>
  11. <% site.posts.sort('date', 'desc').limit(theme.max_post).forEach(function(post){ %>
  12. <div class="row">
  13. <div class="three columns left lit">
  14. <p class="bottom"><%- full_date(post.date, 'll') %></p>
  15. </div>
  16. <div class="nine columns left mb-3">
  17. <a href="<%- url_for(post.path) %>" >
  18. <% if (post.title == "") { %>
  19. no title
  20. <% } else { %>
  21. <%- post.title %>
  22. <% } %>
  23. </a>
  24. </div>
  25. </div>
  26. <% }) %>
  27. <h4> <a href="<%= config.root %>archives">All Posts</a></h4>