From 6ad008865e849b230aa3d7a73977a33893fca4a4 Mon Sep 17 00:00:00 2001 From: inhji Date: Sat, 29 Jul 2023 16:10:02 +0200 Subject: [PATCH] =?UTF-8?q?lib/chiya=5Fweb/controllers/page=5Fhtml/bookmar?= =?UTF-8?q?ks.html.heex=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../controllers/page_html/bookmarks.html.heex | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 lib/chiya_web/controllers/page_html/bookmarks.html.heex diff --git a/lib/chiya_web/controllers/page_html/bookmarks.html.heex b/lib/chiya_web/controllers/page_html/bookmarks.html.heex new file mode 100644 index 0000000..961a504 --- /dev/null +++ b/lib/chiya_web/controllers/page_html/bookmarks.html.heex @@ -0,0 +1,27 @@ +<%= if @channel do %> +
+ <.header> + <%= @channel.name %> + +
+ +
+
+ <%= Markdown.render(@channel.content) |> raw %> +
+ +
+ <.note_list notes={@notes} layout={@channel.layout} show_content={false} /> +
+
+<% else %> +
+ <.header> + Wiki + + +
+ Wiki is not set up. +
+
+<% end %>