lib/chiya_web/controllers/page_html/wiki.html.heex aktualisiert

This commit is contained in:
inhji 2023-09-08 12:40:18 +02:00
parent 25f4d2624e
commit e863b6f18b

View file

@ -15,13 +15,13 @@
<h2 class="text-xl text-theme-base">Recently Updated</h2>
<%= if @channel.layout == :default do %>
<.note_list_default note={@channel.notes}/>
<.note_list_default note={@notes_updated}/>
<% end %>
<%= if @channel.layout == :gallery do %>
<.note_list_gallery note={@channel.notes}/>
<.note_list_gallery note={@notes_updated}/>
<% end %>
<%= if @channel.layout == :microblog do %>
<.note_list_microblog note={@channel.notes}/>
<.note_list_microblog note={@notes_updated}/>
<% end %>
</div>
@ -29,13 +29,13 @@
<h2 class="text-xl text-theme-base">Recently Published</h2>
<%= if @channel.layout == :default do %>
<.note_list_default note={@channel.notes}/>
<.note_list_default note={@notes_published}/>
<% end %>
<%= if @channel.layout == :gallery do %>
<.note_list_gallery note={@channel.notes}/>
<.note_list_gallery note={@notes_published}/>
<% end %>
<%= if @channel.layout == :microblog do %>
<.note_list_microblog note={@channel.notes}/>
<.note_list_microblog note={@notes_published}/>
<% end %>
</div>
</aside>