chiya/lib/chiya_web/controllers/page_html/home.html.heex
2023-09-05 21:59:37 +02:00

11 lines
348 B
Text

<%= if @channel do %>
<%= if @channel.layout == :default do %>
<.note_list_default notes={@channel.notes}/>
<% end %>
<%= if @channel.layout == :gallery do %>
<.note_list_gallery notes={@channel.notes}/>
<% end %>
<%= if @channel.layout == :microblog do %>
<.note_list_microblog notes={@channel.notes}/>
<% end %>
<% end %>