From 8bcbf1eafb4dd340866a72559d2b0321bb241770 Mon Sep 17 00:00:00 2001 From: Inhji Date: Thu, 13 Jul 2023 07:34:21 +0200 Subject: [PATCH] add notes linking here section --- lib/chiya_web/controllers/page_html/note.html.heex | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lib/chiya_web/controllers/page_html/note.html.heex b/lib/chiya_web/controllers/page_html/note.html.heex index e389e91..06d4c65 100644 --- a/lib/chiya_web/controllers/page_html/note.html.heex +++ b/lib/chiya_web/controllers/page_html/note.html.heex @@ -9,6 +9,18 @@ <%= Markdown.render(@note.content) |> raw %> + <%= if not Enum.empty?(@note.links_to) do %> +
+ <.divider text="" /> + Notes linking here: + +
+ <% end %> +