From 672aff2d52d7f74740a3031efac199838482fdff Mon Sep 17 00:00:00 2001 From: inhji Date: Fri, 7 Jul 2023 13:49:06 +0200 Subject: [PATCH] =?UTF-8?q?=E2=80=9Elib/chiya=5Fweb/controllers/page=5Fhtm?= =?UTF-8?q?l/home.html.heex=E2=80=9C=20=C3=A4ndern?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controllers/page_html/home.html.heex | 52 ++++++++++--------- 1 file changed, 27 insertions(+), 25 deletions(-) diff --git a/lib/chiya_web/controllers/page_html/home.html.heex b/lib/chiya_web/controllers/page_html/home.html.heex index 5a19c35..a3ebc28 100644 --- a/lib/chiya_web/controllers/page_html/home.html.heex +++ b/lib/chiya_web/controllers/page_html/home.html.heex @@ -1,33 +1,35 @@ -<.header class_title="text-theme-primary p-name" class_subtitle="p-summary"> - <:title><%= @settings.title %> - <:subtitle><%= @settings.subtitle %> - +
+ <.header class_title="text-theme-primary p-name" class_subtitle="p-summary"> + <:title><%= @settings.title %> + <:subtitle><%= @settings.subtitle %> + -
-
-<% end %> + + <%= if @channel do %> +
+ <.note_list notes={@channel.notes} layout={@channel.layout} /> +
+ <% end %> +
\ No newline at end of file