devel #188

Merged
inhji merged 3 commits from devel into main 2023-07-07 11:12:03 +02:00
2 changed files with 3 additions and 3 deletions

View file

@ -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"
) )

View file

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