diff --git a/lib/chiya_web/controllers/page_html/bookmarks.html.heex b/lib/chiya_web/controllers/page_html/bookmarks.html.heex index 0a48f56..ef66ba1 100644 --- a/lib/chiya_web/controllers/page_html/bookmarks.html.heex +++ b/lib/chiya_web/controllers/page_html/bookmarks.html.heex @@ -9,13 +9,13 @@
<%= 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 %>
diff --git a/lib/chiya_web/controllers/page_html/wiki.html.heex b/lib/chiya_web/controllers/page_html/wiki.html.heex index b9de616..b2c7d3d 100644 --- a/lib/chiya_web/controllers/page_html/wiki.html.heex +++ b/lib/chiya_web/controllers/page_html/wiki.html.heex @@ -15,13 +15,13 @@

Recently Updated

<%= 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 %> @@ -29,13 +29,13 @@

Recently Published

<%= 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 %>