lots of fixes and more EJS

This commit is contained in:
2025-07-23 02:20:38 +01:00
parent 929151a16d
commit 797d894621
24 changed files with 634 additions and 598 deletions

View File

@@ -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 %>

View File

@@ -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">