Update template.ejs

This commit is contained in:
Drew Harwell 2017-04-30 13:35:42 -05:00 committed by GitHub
parent 421932c725
commit d0a7be39b3

View file

@ -7,7 +7,7 @@
<body>
<div class="meta">
<div class="title">
<a href="<%= meta.link %>">
<a target="_top" href="<%= meta.link %>">
<%- meta.title %>'s Feed on Mastodon
</a>
</div>
@ -19,14 +19,13 @@
<div class="item">
<div class="item-title"> <%- item.title %> </div>
<div class="author">
<a class="avatar" href="<%- item.author.uri %>">
<a target="_top" class="avatar" href="<%- item.author.uri %>">
<img class="avatar" src="<%- item.author.avatar %>"/>
</a>
<div class="author-info">
<a class="author-displayname" href="<%- item.author.uri %>"> <%= item.author.displayName %> </a>
<a target="_top" class="author-displayname" href="<%- item.author.uri %>"> <%= item.author.displayName %> </a>
<div class="author-fullname"> <%= item.author.fullName %> </div>
</div>
</a>
</div>
<div class="item-content">
<%- item.content %>
@ -34,7 +33,7 @@
<% if (item.enclosures.length > 0){ %>
<div class="enclosures">
<% for (var i = 0; i < item.enclosures.length; i ++){ %>
<a class="enclosure" href="<%- item.enclosures[i] %>" >
<a target="_top" class="enclosure" href="<%- item.enclosures[i] %>" >
<img src="<%- item.enclosures[i] %>"/>
</a>
<% } %>