Merge pull request 'devel' (#283) from devel into main

Reviewed-on: #283
This commit is contained in:
inhji 2023-09-08 12:41:04 +02:00
commit a6c0224688
2 changed files with 9 additions and 9 deletions

View file

@ -9,13 +9,13 @@
<section class="mt-6 grid grid-cols-1 md:grid-cols-3 gap-3 max-w-4xl mx-auto">
<section class="col-span-1 md:col-span-2">
<%= if @channel.layout == :default do %>
<.note_list_default notes={@channel.notes}/>
<.note_list_default notes={@notes}/>
<% end %>
<%= if @channel.layout == :gallery do %>
<.note_list_gallery notes={@channel.notes}/>
<.note_list_gallery notes={@notes}/>
<% end %>
<%= if @channel.layout == :microblog do %>
<.note_list_microblog notes={@channel.notes}/>
<.note_list_microblog notes={@notes}/>
<% end %>
</section>

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>