Add a link to the JSON version of an article

This commit is contained in:
2021-02-18 00:17:30 -08:00
parent 9a0954e162
commit 75aa46e2a7
+2 -1
View File
@@ -1,5 +1,6 @@
<% let _slug = art.slug.replace(/\//g, '') %>
<div class="article-link">
<h6><a href="https://dailystormer.su<%- art.slug %>"><%- art.title || 'Untitled' %></a></h6>
<h6><a href="https://dailystormer.su<%- art.slug %>"><%- art.title || 'Untitled' %></a> <a href="/article/<%- _slug %>">[json]</a></h6>
<div class="row" >
<div class="three columns" >
by <a class="author" href="/search?q=<%- encodeURIComponent(`author:"${art.author}"`) %>"><%- art.author %></a>