From d878c77e28c66bf9a4ae513098ff98b5561e5af0 Mon Sep 17 00:00:00 2001 From: Ole Eskild Steensen Date: Tue, 29 Nov 2022 21:41:39 +0100 Subject: [PATCH] Remove sidebar duplicate If you had a note with backlinks or localgraph set to true, it would show twice. This should fix that --- src/site/_includes/layouts/note.njk | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/site/_includes/layouts/note.njk b/src/site/_includes/layouts/note.njk index 6a7d9d0..8201b25 100644 --- a/src/site/_includes/layouts/note.njk +++ b/src/site/_includes/layouts/note.njk @@ -31,8 +31,5 @@ permalink: "notes/{{ page.fileSlug | slugify }}/" {%include "components/sidebar.njk"%} {% endif %} - {% if dgShowBacklinks === true or dgShowLocalGraph === true%} - {%include "components/sidebar.njk"%} - {% endif %}