fixes, styling improvement including inlined code
This commit is contained in:
parent
97f9c4a9f2
commit
816fdbb484
5 changed files with 121 additions and 27 deletions
lib/home73k_web/live
|
@ -60,7 +60,7 @@ defmodule Home73kWeb.BlogLive do
|
|||
defp init_per_live_action(:show, socket, %{"id" => id}) do
|
||||
post = Blog.get_post_by_id!(id)
|
||||
socket
|
||||
|> assign(:page_title, "Blog \\ post.title")
|
||||
|> assign(:page_title, "Blog \\ #{post.title}")
|
||||
|> assign(:posts, [post])
|
||||
|> assign(:page_count, nil)
|
||||
|> assign_prev_next(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue