hexo-theme-keep/layout/index.ejs

20 lines
403 B
Plaintext

<!-- index 首页 -->
<div class="home">
<div class="header">
<%- partial('header') %>
</div>
<hr>
<div class="content">
<ul>
<% page.posts.forEach(post => { %>
<%- partial('post', {post: post, index: true}) %>
<% }) %>
</ul>
</div>
<hr>
<div class="footer">
<%- partial('footer') %>
</div>
</div>