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()
|
id -> Chiya.Channels.get_channel!(id) |> Chiya.Channels.preload_channel_public()
|
||||||
end
|
end
|
||||||
|
|
||||||
render(conn, :about,
|
render(conn, :wiki,
|
||||||
channel: channel,
|
channel: channel,
|
||||||
page_title: "Wiki"
|
page_title: "Wiki"
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
<.header titleclass="p-name">
|
<.header>
|
||||||
<:title>Wiki</:title>
|
<:title>Wiki</:title>
|
||||||
</.header>
|
</.header>
|
||||||
|
|
||||||
<%= if @channel do %>
|
<%= if @channel do %>
|
||||||
<div class="w-full mt-6 sm:w-auto flex flex-col gap-1.5">
|
<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>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue