Display 'Untitled' if there is no title

This commit is contained in:
2021-01-27 20:24:48 -08:00
parent 5454b08bc9
commit 84ff77c348
+1 -1
View File
@@ -1,5 +1,5 @@
<div class="article-link">
<h6><a href="https://dailystormer.su<%- art.slug %>"><%- art.title %></a></h6>
<h6><a href="https://dailystormer.su<%- art.slug %>"><%- art.title || 'Untitled' %></a></h6>
<div class="row" >
<div class="three columns" >
by <a class="author" href="/search?q=<%- encodeURIComponent(`author:"${art.author}"`) %>"><%- art.author %></a>