Skip to content

Commit

Permalink
Add ads places
Browse files Browse the repository at this point in the history
  • Loading branch information
ivankravets committed Apr 29, 2021
1 parent a7f281b commit c868a94
Showing 5 changed files with 36 additions and 5 deletions.
20 changes: 20 additions & 0 deletions _templates/footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{% extends "!footer.html" %}

{% block contentinfo %}
{{ super() }}
<!-- Docs: Page bottom -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7398081349378542"
data-ad-slot="1206527817"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
{% endblock %}

{% block extrafooter %}
{{ super() }}
{% include "navbar.html" %}
{% endblock %}
19 changes: 15 additions & 4 deletions _templates/layout.html
Original file line number Diff line number Diff line change
@@ -4,11 +4,22 @@
{{ super() }}
<link rel="stylesheet" href="{{ pathto('_static/css/extra.css', 1) }}" type="text/css" />
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7398081349378542" crossorigin="anonymous"></script>
<!-- <script src="http://dl.platformio.org/misc/abplus.js"></script> -->
{% endblock %}

{% block footer %}
{% include "pio-versions.html" %}
{% block menu %}
{{ super() }}
{% include "navigation.html" %}
{% endblock %}
<p>
<!-- Docs: Side Navigation -->
<ins class="adsbygoogle"
style="display:block"
data-ad-client="ca-pub-7398081349378542"
data-ad-slot="2509136660"
data-ad-format="auto"
data-full-width-responsive="true"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</p>
{% endblock %}
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion conf.py
Original file line number Diff line number Diff line change
@@ -176,7 +176,7 @@
# html_show_sourcelink = True

# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
html_show_sphinx = True
html_show_sphinx = False

# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
# html_show_copyright = True

0 comments on commit c868a94

Please sign in to comment.