lib/chiya_web/controllers/page_html.ex aktualisiert

This commit is contained in:
inhji 2023-09-08 12:46:19 +02:00
parent 8d33ce80e8
commit 50ea3397f5

View file

@ -10,6 +10,12 @@ defmodule ChiyaWeb.PageHTML do
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)