Remove sidebar duplicate

If you had a note with backlinks or localgraph set to true, it would show twice. This should fix that
This commit is contained in:
Ole Eskild Steensen 2022-11-29 21:41:39 +01:00 committed by GitHub
parent 7969dc92e0
commit d878c77e28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,5 @@ permalink: "notes/{{ page.fileSlug | slugify }}/"
{%include "components/sidebar.njk"%}
{% endif %}
</div>
{% if dgShowBacklinks === true or dgShowLocalGraph === true%}
{%include "components/sidebar.njk"%}
{% endif %}
</body>
</html>