Add Tsu theme

This commit is contained in:
2021-06-05 03:45:20 -05:00
parent 065820fe2c
commit 3cd8cdbd9c
47 changed files with 1324 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<div class="posts-wrapper">
<% page.posts.each(function(post){ %>
<article class="post article-entry">
<div class="post-title">
<a class="post-title-link text-underline" href="<%- url_for(post.path) %>"><%= post.title %></a>
</div>
<p class="sub"><%- date(post.date, "MMM DD YYYY") %></p>
<div class="post-content">
<% if (post.excerpt){ %>
<%- post.excerpt %>
<p class="article-more-link">
<a href="<%- url_for(post.path) %>">阅读全文</a>
</p>
<% } else { %>
<%- post.content %>
<% } %>
</div>
</article>
<% }) %>
</div>
<%- partial('_partials/side-bar') %>