blob: dc3540bc1a7a3c7be30ef3de1b407f34339bcdba (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
<article class="article">
<header class="title">
<% if (!timeless && hidden) { %>
<p>
<strong>Note:</strong>
This article is hidden and is only available to those with a link.
</p>
<% } %>
<% if (!timeless && date) { %>
<div class="date">
<%= date %>
</div>
<% } %>
<h1><%= title %></h1>
<% if (tags.length) { %>
<div>
<span class="posted-in">Posted in: </span>
<span>
<% tags.forEach(function(tag, i) { %>
<a href="/tags/<%= tag %>"><%= tag %></a><% if (i !== tags.length - 1) { %>, <% } %>
<% }) %>
</span>
</div>
<% } %>
</header>
<section class="content">
<%- body %>
</section>
<footer class="more details">
--
<br><br>
<a target="_blank" rel="noopener" href="<%= tweetUrl %>" class="tweet">tweet this</a>
<a href="/">« back home</a>
</footer>
</article>
|