Initial upload

This commit is contained in:
rzmk 2021-06-21 21:17:25 -04:00
commit f7d2a75168
14 changed files with 1106 additions and 0 deletions

19
views/home.ejs Normal file
View 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"); -%>