<div class="post-content">
<div class="ui grid">
<div class="four wide column">
<a class="avatar avatar-link"
href="/bookmarks?author=<%= bookmark.author._id %>"
data-title="<%= bookmark.author.name %> | <%= ({m: "", f: "", x: ""})[bookmark.author.gender] %>"
data-content="<%= bookmark.author.bio %>">
<img class="avatar" src="/img/<%= bookmark.author.avatar %>">
</a>
</div>
<div class="eight wide column">
<div class="ui segment">
<h3><a href="/bookmarks/<%= bookmark._id %>"><%= bookmark.title %></a></h3>
<h3><a href="<%- bookmark.url %>"><%= bookmark.title %></a></h3>
<%- bookmark.url %>
<img class="favicon" width="32" height="32" src="/upload/<%= bookmark.favicon %>">
<div>
<span class="tag"><%= bookmark.created_at %></span>
<span class="tag right">
<% if (user && bookmark.author._id && user._id.toString() === bookmark.author._id.toString()) { %>
<div class="ui inline dropdown">
<div class="text"></div>
<i class="dropdown icon"></i>
<div class="menu">
<div class="item"><a href="/bookmarks/<%= bookmark._id %>/bookmarkedit"></a></div>
<div class="item"><a href="/bookmarks/<%= bookmark._id %>/remove"></a></div>
</div>
</div>
<% } %>
</span>
</div>
</div>
</div>
</div>
</div>
result (source code):
<div class="eight wide column">
<div class="ui segment">
<h3><a href="/bookmarks/5b768c91f41d520dcc53c559">EJS -- JavaScript | EJS </a></h3>
<h3><a href="<a href="https://ejs.bootcss.com/">https://ejs.bootcss.com/</a>
">EJS -- JavaScript | EJS </a></h3>
<a href="https://ejs.bootcss.com/">https://ejs.bootcss.com/</a>
<img class="favicon" width="32" height="32" src="/upload/5b591940df2f820367488075ejs.bootcss.com.ico">
<div>
<span class="tag">2018-08-17 16:51</span>
<span class="tag right">