devel #188
2 changed files with 3 additions and 3 deletions
|
@ -73,7 +73,7 @@ defmodule ChiyaWeb.PageController do
|
|||
id -> Chiya.Channels.get_channel!(id) |> Chiya.Channels.preload_channel_public()
|
||||
end
|
||||
|
||||
render(conn, :about,
|
||||
render(conn, :wiki,
|
||||
channel: channel,
|
||||
page_title: "Wiki"
|
||||
)
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<.header titleclass="p-name">
|
||||
<.header>
|
||||
<:title>Wiki</:title>
|
||||
</.header>
|
||||
|
||||
<%= if @channel do %>
|
||||
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5">
|
||||
<.note_list notes={@channel.notes} layout={:default} />
|
||||
<.note_list notes={@channel.notes} layout={@channel.layout} />
|
||||
</div>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in a new issue