bug fix: postID -> post_index

This commit is contained in:
2025-08-27 18:19:12 +01:00
parent 5bd0429ae2
commit c73ce69f93
4 changed files with 11 additions and 4 deletions

View File

@@ -2,7 +2,7 @@
<%= post.title %>
</h3>
<%- func.render_md(post.content) %><br/>
<a href="<%= config.edit_post_base_url %>/<%= postID %>"><%= locale.edit_post %></a><br/>
<a href="<%= config.edit_post_base_url %>/<%= post_index %>"><%= locale.edit_post %></a><br/>
<a href="/post/<%- postID %>"><%= locale.permalink %></a><br/>
<%- func.hyperlink_tags(post.tags) %>
<br/>

View File

@@ -2,7 +2,7 @@
<%= post.title %>
</h3>
<%- func.render_md(post.content) %><br/>
<a href="<%= config.edit_post_base_url %>/<%= postID %>"><%= locale.edit_post %></a><br/>
<a href="<%= config.edit_post_base_url %>/<%= post_index %>"><%= locale.edit_post %></a><br/>
<a href="/post/<%- index %>"><%= locale.permalink %></a><br/>
<i>
<%= locale.written_by %> <a href="/user/<%= user.username %>"><%= user.username %></a><br/>

View File

@@ -2,7 +2,7 @@
<%= post.title %>
</h3>
<%- func.render_md(post.content) %><br/>
<a href="<%= config.edit_post_base_url %>/<%= postID %>"><%= locale.edit_post %></a><br/>
<a href="<%= config.edit_post_base_url %>/<%= post_index %>"><%= locale.edit_post %></a><br/>
<a href="/post/<%- index %>"><%= locale.permalink %></a><br/>
<br/>