shadowfacts.net/site/includes/article-listing.html.ejs

21 lines
696 B
Plaintext
Raw Permalink Normal View History

2020-01-28 00:31:59 +00:00
<article itemscope itemtype="https://schema.org/BlogPosting">
<h2 class="article-title" itemprop="headline">
<a href="<%= post.metadata.permalink %>" itemprop="url mainEntityOfPage">
2022-01-20 17:46:17 +00:00
<% if (post.metadata.htmlTitle) { %>
<%- post.metadata.htmlTitle %>
<% } else { %>
<%= post.metadata.title %>
<% } %>
2020-01-28 00:31:59 +00:00
</a>
</h2>
<%- include("article-meta.html.ejs", { metadata: post.metadata }) %>
<div class="article-content" itemprop="description">
2022-04-08 02:49:37 +00:00
<%- post.metadata.excerpt || post.text %>
2020-01-28 00:31:59 +00:00
</div>
2022-04-08 02:49:37 +00:00
<% if (post.metadata.excerpt) { %>
<p class="read-more-link">
<a href="<%= post.metadata.permalink%>">Read more...</a>
</p>
<% } %>
2022-01-20 17:46:17 +00:00
</article>