shadowfacts.net/site/layouts/article.html.ejs

38 lines
1.2 KiB
Plaintext

```
metadata.layout = "default.html.ejs"
```
<article itemprop="blogPost" itemscope itemtype="https://schema.org/BlogPosting">
<meta itemprop="mainEntityOfPage" content="https://shadowfacts.net<%= metadata.permalink %>">
<h1 class="article-title" itemprop="name headline">
<%= metadata.title %>
</h1>
<%- include("../includes/article-meta.html.ejs", { metadata }) %>
<div class="article-content" itemprop="articleBody">
<%- content %>
</div>
<details id="comments-container">
<summary>
<h2 id="comments-container-title">Comments</h2>
</summary>
<p id="comments-info">
Comments powered by ActivityPub. To respond to this post or to another comment, copy its URL into the search interface of your client for Mastodon, Pleroma, or other compatible software.
<a href="/2019/reincarnation/#activity-pub">Learn more</a>.
</p>
<noscript>
<p id="comments-js-warning">
JavaScript is required to display comments.
</p>
</noscript>
</details>
</article>
<script>
<% if (metadata.useOldPermalinkForComments) { %>
const permalink = "<%= metadata.oldPermalink %>";
<% } else { %>
const permalink = "<%= metadata.permalink %>";
<% } %>
</script>
<script src="/js/comments.js" async></script>