Update template.ejs
This commit is contained in:
parent
421932c725
commit
d0a7be39b3
1 changed files with 4 additions and 5 deletions
|
@ -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>
|
||||
<% } %>
|
||||
|
|
Reference in a new issue