lots of fixes and more EJS
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
By <a href="/user/<%= user.username %>"><%= user.username %></a><br/>
|
||||
</i>
|
||||
<br/>
|
||||
<%- hyperlink_tags(post.tags) %><br/>
|
||||
<%- func.hyperlink_tags(post.tags) %><br/>
|
||||
<a href="<%= config.edit_post_base_url %>/<%= postID %>">Edit</a><br/>
|
||||
<i>Published: <%= format(fromUnixTime(post.pubdate), config.date_format) %></i><br/>
|
||||
<i>Last Modified: <%= format(fromUnixTime(post.editdate), config.date_format) %></i><br/>
|
||||
<i>Published: <%= func.unix_time_to_date_format(post.pubdate) %></i><br/>
|
||||
<i>Last Modified: <%= func.unix_time_to_date_format(post.pubdate) %></i><br/>
|
||||
|
||||
<%- config.seperator %>
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
</h3>
|
||||
<%= post.content %><br/>
|
||||
<a href="/post/<%- postID %>">Permalink</a><br/>
|
||||
<%- hyperlink_tags(post.tags) %>
|
||||
<%- func.hyperlink_tags(post.tags) %>
|
||||
|
||||
<!-- Comment form -->
|
||||
<form method="POST" action="/submit_comment">
|
||||
|
Reference in New Issue
Block a user