Skip to content

Commit affd2e3

Browse files
committed
Move 3rd party scripts to footer part
1 parent c5e6c57 commit affd2e3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

_templates/footer.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919
{% block extrafooter %}
2020
{{ super() }}
2121
{% include "navbar.html" %}
22+
<script async src="https://ad.platformio.org/delivery/revasyncjs.dll"></script>
23+
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7398081349378542" crossorigin="anonymous"></script>
2224
{% endblock %}

_templates/layout.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
{{ super() }}
55
<link rel="stylesheet" href="{{ pathto('_static/css/extra.css', 1) }}" type="text/css" />
66
<script src="{{ pathto('_static/js/bootstrap.min.js', 1) }}"></script>
7-
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7398081349378542" crossorigin="anonymous"></script>
8-
<!-- <script src="http://dl.platformio.org/misc/abplus.js"></script> -->
97
{% endblock %}
108

119
{% block menu %}
@@ -26,6 +24,5 @@
2624

2725
{% block content %}
2826
<ins data-rvad-zoneid="1" data-rvad-id="f837d8c96893e793fdbb230cffb628fc"></ins>
29-
<script async src="https://ad.platformio.org/delivery/revasyncjs.dll"></script>
3027
{{ super() }}
3128
{% endblock %}

0 commit comments

Comments
 (0)