devel #283
2 changed files with 9 additions and 9 deletions
|
@ -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="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">
|
<section class="col-span-1 md:col-span-2">
|
||||||
<%= if @channel.layout == :default do %>
|
<%= if @channel.layout == :default do %>
|
||||||
<.note_list_default notes={@channel.notes}/>
|
<.note_list_default notes={@notes}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @channel.layout == :gallery do %>
|
<%= if @channel.layout == :gallery do %>
|
||||||
<.note_list_gallery notes={@channel.notes}/>
|
<.note_list_gallery notes={@notes}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @channel.layout == :microblog do %>
|
<%= if @channel.layout == :microblog do %>
|
||||||
<.note_list_microblog notes={@channel.notes}/>
|
<.note_list_microblog notes={@notes}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|
|
@ -15,13 +15,13 @@
|
||||||
<h2 class="text-xl text-theme-base">Recently Updated</h2>
|
<h2 class="text-xl text-theme-base">Recently Updated</h2>
|
||||||
|
|
||||||
<%= if @channel.layout == :default do %>
|
<%= if @channel.layout == :default do %>
|
||||||
<.note_list_default note={@channel.notes}/>
|
<.note_list_default note={@notes_updated}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @channel.layout == :gallery do %>
|
<%= if @channel.layout == :gallery do %>
|
||||||
<.note_list_gallery note={@channel.notes}/>
|
<.note_list_gallery note={@notes_updated}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @channel.layout == :microblog do %>
|
<%= if @channel.layout == :microblog do %>
|
||||||
<.note_list_microblog note={@channel.notes}/>
|
<.note_list_microblog note={@notes_updated}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -29,13 +29,13 @@
|
||||||
<h2 class="text-xl text-theme-base">Recently Published</h2>
|
<h2 class="text-xl text-theme-base">Recently Published</h2>
|
||||||
|
|
||||||
<%= if @channel.layout == :default do %>
|
<%= if @channel.layout == :default do %>
|
||||||
<.note_list_default note={@channel.notes}/>
|
<.note_list_default note={@notes_published}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @channel.layout == :gallery do %>
|
<%= if @channel.layout == :gallery do %>
|
||||||
<.note_list_gallery note={@channel.notes}/>
|
<.note_list_gallery note={@notes_published}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
<%= if @channel.layout == :microblog do %>
|
<%= if @channel.layout == :microblog do %>
|
||||||
<.note_list_microblog note={@channel.notes}/>
|
<.note_list_microblog note={@notes_published}/>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</div>
|
||||||
</aside>
|
</aside>
|
||||||
|
|
Loading…
Reference in a new issue