timeline, userpage and tag page have an edit post option.

This commit is contained in:
2025-08-27 17:58:48 +01:00
parent 6e583d1410
commit 5bd0429ae2
3 changed files with 3 additions and 0 deletions

View File

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

View File

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

View File

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