From 9db9994a487f51dab84878439220920b05bd56cf Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 7 Jul 2023 11:11:05 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=E2=80=9Elib/chiya=5Fweb/controllers/page?= =?UTF-8?q?=5Fhtml/wiki.html.heex=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chiya_web/controllers/page_html/wiki.html.heex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/chiya_web/controllers/page_html/wiki.html.heex b/lib/chiya_web/controllers/page_html/wiki.html.heex index fe63441..ac82e94 100644 --- a/lib/chiya_web/controllers/page_html/wiki.html.heex +++ b/lib/chiya_web/controllers/page_html/wiki.html.heex @@ -1,9 +1,9 @@ -<.header titleclass="p-name"> +<.header> <:title>Wiki <%= if @channel do %>
- <.note_list notes={@channel.notes} layout={:default} /> + <.note_list notes={@channel.notes} layout={@channel.layout} />
<% end %> -- 2.39.5 From 531a58fbe1bf4ddd58f69255ed0c9c491af92179 Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 7 Jul 2023 11:11:31 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=E2=80=9Elib/chiya=5Fweb/controllers/page?= =?UTF-8?q?=5Fcontroller.ex=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/chiya_web/controllers/page_controller.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chiya_web/controllers/page_controller.ex b/lib/chiya_web/controllers/page_controller.ex index 5c565cf..36f4726 100644 --- a/lib/chiya_web/controllers/page_controller.ex +++ b/lib/chiya_web/controllers/page_controller.ex @@ -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" ) -- 2.39.5