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

34 lines
1.1 KiB
Plaintext
Raw Normal View History

2019-01-04 18:14:53 +00:00
```
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>
2019-08-18 21:15:31 +00:00
<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.
2019-09-18 17:12:35 +00:00
<a href="/meta/2019/reincarnation/#activity-pub">Learn more</a>.
2019-08-18 21:15:31 +00:00
</p>
<noscript>
<p id="comments-js-warning">
JavaScript is required to display comments.
</p>
</noscript>
</details>
</article>
2019-03-01 23:42:28 +00:00
<script>
const permalink = "<%= metadata.permalink %>";
</script>
<script src="/js/comments.js" async></script>