Skip to content

Commit

Permalink
Remove superfluos script type.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jan 14, 2022
1 parent 28efe08 commit 525be68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sphinx_ansible_theme/extrafooter.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- extra footer elements for Ansible beyond RTD Sphinx Theme --->
{%- if theme_hubspot_id %}
<!-- begin analytics -->
<script type="text/javascript">
<script>
var _hsq = _hsq || [];
_hsq.push(["setContentType", "standard-page"]);
(function(d,s,i,r) {
Expand All @@ -15,7 +15,7 @@
{%- endif %}

{%- if theme_satellite_tracking | tobool %}
<script type="text/javascript">
<script>
if (("undefined" !== typeof _satellite) && ("function" === typeof _satellite.pageBottom)) {
_satellite.pageBottom();
}
Expand Down
4 changes: 2 additions & 2 deletions sphinx_ansible_theme/extrahead.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!---- extra head elements for Ansible beyond RTD Sphinx Theme --->
{%- if theme_satellite_tracking | tobool %}
<script type="text/javascript" src="https://www.redhat.com/dtm.js"></script>
<script src="https://www.redhat.com/dtm.js"></script>
{%- endif %}

{% if theme_swift_id %}
Expand All @@ -18,7 +18,7 @@

{% if theme_swift_id %}
{# Ansible search with Swift - do not remove #}
<script type="text/javascript">
<script>
(function(w,d,t,u,n,s,e){w['SwiftypeObject']=n;w[n]=w[n]||function(){
(w[n].q=w[n].q||[]).push(arguments);};s=d.createElement(t);
e=d.getElementsByTagName(t)[0];s.async=1;s.src=u;e.parentNode.insertBefore(s,e);
Expand Down

0 comments on commit 525be68

Please sign in to comment.