Initial upload
This commit is contained in:
commit
f7d2a75168
14 changed files with 1106 additions and 0 deletions
19
views/home.ejs
Normal file
19
views/home.ejs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
<%- include("partials/header"); -%>
|
||||
<h1>Welcome to The Project Mind.</h1>
|
||||
<p> <%= startingContent %> </p>
|
||||
|
||||
|
||||
<% posts.forEach(function(post){ %>
|
||||
|
||||
<h1><%=post.title%></h1>
|
||||
<p>
|
||||
<%=post.content.substring(0, 100) + " ..."%>
|
||||
<a href="/posts/<%=post.title%>">Read More</a>
|
||||
</p>
|
||||
|
||||
|
||||
<% }) %>
|
||||
|
||||
|
||||
<%- include("partials/footer"); -%>
|
||||
Loading…
Add table
Add a link
Reference in a new issue