2
Fork 0

Added basic theme

This commit is contained in:
Willem Cazander 2020-01-03 18:07:50 +01:00
parent a085ca6867
commit 8b9afa66ce
42 changed files with 5633 additions and 0 deletions

View file

@ -0,0 +1,27 @@
<div class="main-content meethigher-scroll">
<div class="main-content-post">
<% page.posts.each(function (post) { %>
<article class="post">
<div class="post-title">
<a href="<%- url_for(post.path) %>"><%= post.title %></a>
</div>
<div class="post-excerpt">
<%- post.excerpt %>
</div>
<div class="post-content">
<a href="<%- url_for(post.path) %>">Read</a>
<% if (post.tags && post.tags.length){ %>
<%- list_tags(post.tags, {
show_count: false,
class: 'article-tag'
}) %>
<% } %>
</div>
<div class="post-media">
<span class="post-time">posted&nbsp;@&nbsp;<%- date(post.date, "YYYY-MM-DD HH:mm:ss") %>&nbsp;<%- config.author %></span>
</div>
</article>
<% }) %>
<%- partial("_partial/paginator") %>
</div>
</div>