fixes, styling improvement including inlined code

This commit is contained in:
Adam Piontek 2021-04-06 14:45:54 -04:00
commit 816fdbb484
5 changed files with 121 additions and 27 deletions
lib/home73k_web/live

View file

@ -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)