%= if @channel do %> <.header> Bookmarks <:subtitle><%= Enum.count(@notes) %> in total <.note_list notes={@notes} layout={@channel.layout} show_content={false} /> <%= for {letter, tag_group} <- @tags do %> <%= letter %> <%= for tag <- tag_group do %> <%= tag.name %> <%= Enum.count(tag.notes) %> <% end %> <% end %> <% else %> <.header> Bookmarks Bookmarks not set up. <% end %>