diff --git a/src/site/_includes/components/graphScript.njk b/src/site/_includes/components/graphScript.njk
index e97f805..5264322 100644
--- a/src/site/_includes/components/graphScript.njk
+++ b/src/site/_includes/components/graphScript.njk
@@ -1,12 +1,9 @@
+
+
+
Connected Pages
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/site/_includes/components/sidebar.njk b/src/site/_includes/components/sidebar.njk
index 6a91f7d..277ae8b 100644
--- a/src/site/_includes/components/sidebar.njk
+++ b/src/site/_includes/components/sidebar.njk
@@ -5,30 +5,7 @@
{% include imp %}
{% endfor %}
{%if settings.dgShowLocalGraph === true%}
-
-
-
Connected Pages
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {%include "components/graphScript.njk"%}
{%endif%}
{%if settings.dgShowToc === true%}
@@ -89,8 +66,4 @@
{% endfor %}
-
-
-{%if settings.dgShowLocalGraph === true %}
- {%include "components/graphScript.njk"%}
-{% endif %}
\ No newline at end of file
+
\ No newline at end of file