add titles to more pages
This commit is contained in:
parent
ccb2819b01
commit
8a9a5e5bd9
@ -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)
|
||||
|
||||
|
@ -23,7 +23,7 @@ app:get("thread_create", "/create", function(self)
|
||||
return "how did you get here?"
|
||||
end
|
||||
self.all_topics = all_topics
|
||||
self.page_title = "creating thread"
|
||||
self.page_title = "drafting a thread"
|
||||
self.me = user
|
||||
return {render = "threads.create"}
|
||||
end)
|
||||
|
@ -53,7 +53,7 @@ app:get("topic_create", "/create", function(self)
|
||||
return {status = 403}
|
||||
end
|
||||
|
||||
self.page_title = "creating topic"
|
||||
self.page_title = "creating a topic"
|
||||
self.me = user
|
||||
|
||||
return {render = "topics.create"}
|
||||
|
Loading…
Reference in New Issue
Block a user