Added basic theme
This commit is contained in:
parent
a085ca6867
commit
8b9afa66ce
42 changed files with 5633 additions and 0 deletions
27
themes/custom/layout/index.ejs
Normal file
27
themes/custom/layout/index.ejs
Normal 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 @ <%- date(post.date, "YYYY-MM-DD HH:mm:ss") %> <%- config.author %></span>
|
||||
</div>
|
||||
</article>
|
||||
<% }) %>
|
||||
<%- partial("_partial/paginator") %>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue