Created a per-post hitcount as well a writedata() function that can

write to a particular index or to a whole data type
This commit is contained in:
2025-10-02 13:34:55 +01:00
parent 17919e3078
commit 2ada1d970f
5 changed files with 57 additions and 11 deletions

View File

@@ -24,6 +24,11 @@
<div id="post-editdate">
<i><%= locale.last_modified %>: <%= func.unix_time_to_date_format(post.pubdate) %></i><br/>
</div>
<% if (config.enable_hitcount == true) { %>
<div id='post-hitcount'>
Hitcount: <%- post.hitcount %>
</div>
<% } %>
</div>
<div id="post-commentform">