diff --git a/_includes/custom/doc/links_doc.html b/_includes/custom/doc/links_doc.html
index 1381d98..15bb94e 100644
--- a/_includes/custom/doc/links_doc.html
+++ b/_includes/custom/doc/links_doc.html
@@ -1,4 +1,4 @@
-{% comment %} leave this end_i capture here, since many rely on it. {% endcomment %}
+{% comment %} leave this end_i capture here, since all links with _i rely on it. {% endcomment %}
{% capture end_i %}{% endcapture %}
{% capture doc_about %}About this theme{% endcapture %}
@@ -122,4 +122,8 @@
{% capture doc_iterm_profiles_i %}{% endcapture %}
{% capture doc_webstorm_text_editor %}WebStorm Text Editor{% endcapture %}
-{% capture doc_webstorm_text_editor %}{% endcapture %}
\ No newline at end of file
+{% capture doc_webstorm_text_editor_i %}{% endcapture %}
+
+{% capture doc_seriesdemo1_1 %}Series demo{% endcapture %}
+{% capture doc_seriesdemo1_1_i %}{% endcapture %}
+
diff --git a/_layouts/default.html b/_layouts/default.html
index fbfbc1b..f1ef176 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -10,12 +10,12 @@
$('[data-toggle="tooltip"]').tooltip()
})
-{% if page.video == true %}
+{% if page.video == true and site.print == false %}
{% endif %}
-{% if page.datatable == true %}
+{% if page.datatable == true and site.print == false %}
@@ -32,6 +32,7 @@ $('#small-box-links').localScroll({
});
+{% endunless %}