diff --git a/lib/chiya_web/controllers/page_html.ex b/lib/chiya_web/controllers/page_html.ex index ed60d31..db17859 100644 --- a/lib/chiya_web/controllers/page_html.ex +++ b/lib/chiya_web/controllers/page_html.ex @@ -7,8 +7,15 @@ defmodule ChiyaWeb.PageHTML do attr :notes, :list, required: true + attr :show_content, :boolean, default: true def note_list_default(assigns) + attr :notes, :list, required: true + def note_list_microblog(assigns) + + attr :notes, :list, required: true + def note_list_gallery(assigns) + def tag_list([]), do: "No Tags" def tag_list(tags), do: Enum.map_join(tags, ", ", fn t -> t.name end)