33 lines
740 B
Plaintext
33 lines
740 B
Plaintext
<div id="post-header">
|
|
<h2>
|
|
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
|
|
</h2>
|
|
</div>
|
|
|
|
<div id="post-tags">
|
|
<%- func.render_tags(post.tags) %><br/>
|
|
</div>
|
|
|
|
<div id="post-content">
|
|
<p>
|
|
<%- func.render_md(post.content) %>
|
|
</p>
|
|
</div>
|
|
<div id="post-details">
|
|
<span id="post-author">
|
|
<i><a href="/user/<%= user.username %>"><%= user.username %></a></i>
|
|
</span>
|
|
-
|
|
<span id="post-pubdate">
|
|
<i><%= func.unix_time_to_date_format(post.pubdate) %></i><br/>
|
|
</span>
|
|
<br/>
|
|
<div id="post-edit">
|
|
<a href="<%= config.edit_post_base_url %>/<%= post["id"] %>">
|
|
<img src='/icons/edit.png'>
|
|
</a><br/>
|
|
</div>
|
|
</div>
|
|
|
|
<%- config.seperator %>
|