Change article links to open in new tabs
This commit is contained in:
parent
b91062cc22
commit
a856c80d4a
|
@ -1,5 +1,5 @@
|
||||||
<h1>
|
<h1>
|
||||||
<a href="<%= @item.url %>"><%= @item.title %></a>
|
<a href="<%= @item.url %>" target="_blank" rel="noopener noreferrer"><%= @item.title %></a>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<%= if @item.read do %>
|
<%= if @item.read do %>
|
||||||
|
@ -14,4 +14,4 @@
|
||||||
|
|
||||||
<article class="mt-4">
|
<article class="mt-4">
|
||||||
<%= raw(@item.content) %>
|
<%= raw(@item.content) %>
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Reference in New Issue