feat: add support for custom page titles #12
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user