You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1013 B
37 lines
1013 B
<article class="post reveal<%= (post.title) ? "" : "no-title" %>"> |
|
<section class="meta"> |
|
|
|
<h2 class="title"> |
|
<a href="<%- url_for(post.path) %>"> |
|
<% if(post.title){ %> |
|
<%= post.title %> |
|
<% } else if (post.date) { %> |
|
<%= date(post.date, 'YYYY-MM-DD dddd') %> |
|
<% } %> |
|
</a> |
|
</h2> |
|
|
|
<time> |
|
<%= date(post.date, 'YYYY-MM-DD dddd') %> |
|
</time> |
|
<%- partial('categories',{post:post}) %> |
|
</section> |
|
<section class="article typo"> |
|
<%- post.excerpt || post.content %> |
|
<!-- <%- post.excerpt %> --> |
|
|
|
<% if (post.excerpt) { %> |
|
<div class="readmore"> |
|
<a href="<%- url_for(post.path) %>" class="flat-box">READ MORE</a> |
|
</div> |
|
<% } %> |
|
|
|
<% if (post.tags && post.tags.length) { %> |
|
<div class="full-width auto-padding tags"> |
|
<% post.tags.each(function(item){ %> |
|
<a href="<%- url_for(item.path) %>"><i class="fa fa-tag"></i> <%=item.name %></a> |
|
<%})%> |
|
</div> |
|
<% } %> |
|
</section> |
|
</article>
|
|
|