Browse Source

Add 'json' class to json link

master
Perception 2 months ago
parent
commit
11929904bd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/_article-link.ejs

+ 1
- 1
templates/_article-link.ejs View File

@ -1,6 +1,6 @@
<% let _slug = art.slug.replace(/\//g, '') %>
<div class="article-link">
<h6><a href="https://dailystormer.su<%- art.slug %>"><%- art.title || 'Untitled' %></a> <a href="/article/<%- _slug %>">[json]</a></h6>
<h6><a href="https://dailystormer.su<%- art.slug %>"><%- art.title || 'Untitled' %></a> <a class="json" 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>


Loading…
Cancel
Save