feat: add support for custom page titles #12

Merged
gargakshit merged 3 commits from feature/title into develop 2022-05-28 05:10:07 +00:00
Showing only changes of commit bec57794fa - Show all commits

View File

@ -41,7 +41,8 @@ defmodule KetbinWeb.PageController do
render(conn, "show.html", render(conn, "show.html",
paste: paste, paste: paste,
show_edit: show_edit, show_edit: show_edit,
extension: if(tail == [], do: "", else: tail) extension: if(tail == [], do: "", else: tail),
page_title: paste.id
) )
end end