diff --git a/lib/ketbin_web/controllers/page_controller.ex b/lib/ketbin_web/controllers/page_controller.ex index c4bfcee..a042622 100644 --- a/lib/ketbin_web/controllers/page_controller.ex +++ b/lib/ketbin_web/controllers/page_controller.ex @@ -28,7 +28,8 @@ defmodule KetbinWeb.PageController do render(conn, "show.html", paste: paste, show_edit: show_edit, - extension: List.first(tail) || "" + extension: List.first(tail) || "", + page_title: paste.id ) end end @@ -40,7 +41,8 @@ defmodule KetbinWeb.PageController do render(conn, "shorten.html", paste: paste, show_edit: show_edit, - extension: if(tail == [], do: "", else: tail) + extension: if(tail == [], do: "", else: tail), + page_title: paste.id ) end diff --git a/lib/ketbin_web/templates/layout/app.html.heex b/lib/ketbin_web/templates/layout/app.html.heex index 628f98e..73531a4 100644 --- a/lib/ketbin_web/templates/layout/app.html.heex +++ b/lib/ketbin_web/templates/layout/app.html.heex @@ -4,7 +4,11 @@ -