Skip to content

Commit

Permalink
Adding analytics script to <head>.
Browse files Browse the repository at this point in the history
  • Loading branch information
rlhagerm committed Dec 6, 2024
1 parent 8b36391 commit e285e12
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/source/_templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@

{%- extends "!page.html" %}

{% block body -%}
{%- block extrahead %}
<script src="https://a0.awsstatic.com/s_code/js/3.0/awshome_s_code.js"></script>
{% endblock %}

{% block body -%}
<script>
document.body.dataset.theme = localStorage.getItem("theme") || "auto";
</script>
Expand Down

0 comments on commit e285e12

Please sign in to comment.