add titles to more pages

This commit is contained in:
2025-05-24 17:39:23 +03:00
parent ccb2819b01
commit 8a9a5e5bd9
3 changed files with 4 additions and 2 deletions

View File

@ -48,6 +48,8 @@ app:get("edit_post", "/:post_id/edit", function(self)
self.prev_context = db.query(context_prev_query, self.thread.id, self.editing_post.created_at)
self.next_context = db.query(context_next_query, self.thread.id, self.editing_post.created_at)
self.page_title = "editing a post"
return {render = "post.edit-post"}
end)