diff --git a/src/documents/blog.html.ejs b/src/documents/blog.html.ejs index 72183d5..ce169ab 100644 --- a/src/documents/blog.html.ejs +++ b/src/documents/blog.html.ejs @@ -7,13 +7,15 @@ referencesOthers: true --- <% var posts = getCollection("posts").toJSON() %> <% posts.forEach(function(post){ %> -
-

<%= post.title %>

-

<%- post.subtitle %>

-

<%- post.formattedDate %>

-
- <%- post.contentRenderedWithoutLayouts.split("-split-")[0] %> + <% if(!post.hidden){ %> +
+

<%= post.title %>

+

<%- post.subtitle %>

+

<%- post.formattedDate %>

+
+ <%- post.contentRenderedWithoutLayouts.split("-split-")[0] %> +
+ Read More...
- Read More... -
+ <% } %> <% }) %>