jabe/templates/index.ejs

9 lines
234 B
Text
Raw Normal View History

<%- include('header') %>
<div id="main-content">
<% for(const post of posts) { %>
<a class="post" href="/post/<%= post.file %>"><%= post.title %></a><br>
<% } %>
</div>
<%- include('global-style'); %>
<%- include('footer') %>