diff --git a/docs/conf.py b/docs/conf.py
index 13bb0e52..c5cad65b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -145,3 +145,9 @@
}
autoclass_content = 'both'
+
+# qiskit package specific variables
+html_context = {
+ 'repo_name': 'Example Repo',
+ 'analytics_enabled': True
+}
\ No newline at end of file
diff --git a/qiskit_sphinx_theme/footer.html b/qiskit_sphinx_theme/footer.html
index e6cb6525..066fffd3 100644
--- a/qiskit_sphinx_theme/footer.html
+++ b/qiskit_sphinx_theme/footer.html
@@ -10,21 +10,17 @@
{% endif %}
- {% if theme_pytorch_project == 'tutorials' %}
+ {% if analytics_enabled %}
-
Was this helpful?
-
Yes
-
No
-
Thank you
+
Was this page helpful?
+
Yes
+
No
+
Thank you!
-
- {% else %}
-
-
-
+
{% endif %}
@@ -69,3 +65,10 @@
+
+
diff --git a/qiskit_sphinx_theme/layout.html b/qiskit_sphinx_theme/layout.html
index a2c1f194..666b59fc 100644
--- a/qiskit_sphinx_theme/layout.html
+++ b/qiskit_sphinx_theme/layout.html
@@ -42,43 +42,63 @@
{% endif %}
-
- {%- for css in css_files %}
- {%- if css|attr("rel") %}
-
- {%- else %}
-
- {%- endif %}
- {%- endfor %}
- {%- for cssfile in extra_css_files %}
-
- {%- endfor %}
-
- {%- block linktags %}
- {%- if hasdoc('about') %}
-
- {%- endif %}
- {%- if hasdoc('genindex') %}
-
- {%- endif %}
- {%- if hasdoc('search') %}
-
- {%- endif %}
- {%- if hasdoc('copyright') %}
-
- {%- endif %}
- {%- if next %}
-
- {%- endif %}
- {%- if prev %}
-
- {%- endif %}
- {%- endblock %}
- {%- block extrahead %} {% endblock %}
-
- {# Keep modernizr in head - http://modernizr.com/docs/#installing #}
-
+
+ {% if analytics_enabled %}
+
+
+ {% endif %}