Files
blogger-nodejs/views/posts/tag.ejs
deadvey 35163b5584 Fixed an issue with an incomplete example-config.json that made the
server not work at all.
Also added a default.css file
2025-10-24 12:28:22 +01:00

33 lines
740 B
Plaintext

<div id="post-header">
<h1>
<a href='/post/<%= post['id'] %>'><%= post.title %></a>
</h1>
</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 %>