Change article links to open in new tabs

This commit is contained in:
Shadowfacts 2019-10-31 13:49:35 -04:00
parent b91062cc22
commit a856c80d4a
Signed by: shadowfacts
GPG Key ID: 94A5AB95422746E5
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<h1>
<a href="<%= @item.url %>"><%= @item.title %></a>
<a href="<%= @item.url %>" target="_blank" rel="noopener noreferrer"><%= @item.title %></a>
</h1>
<%= if @item.read do %>
@ -14,4 +14,4 @@
<article class="mt-4">
<%= raw(@item.content) %>
</article>
</article>