Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/eshlox/simplicity.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemysław Kołodziejczyk <eshlox@vertolabs.com>2018-02-18 02:03:19 +0300
committerPrzemysław Kołodziejczyk <eshlox@users.noreply.github.com>2018-02-18 02:04:55 +0300
commit2853e26b7b79ea6920a04de959f2b9bbcfcf8c19 (patch)
tree423a7e01e2e8ea664d3d6e4fe0488d866a7c8dfd /layouts
parent34a3d0bd585d5e0a5138dec7b59adbbcde6b69f4 (diff)
Google Adsense improvements
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/adsense.html20
1 files changed, 11 insertions, 9 deletions
diff --git a/layouts/partials/adsense.html b/layouts/partials/adsense.html
index d22f6eb..3ac3e10 100644
--- a/layouts/partials/adsense.html
+++ b/layouts/partials/adsense.html
@@ -1,14 +1,16 @@
{{ if and .Site.Params.adsenseDataAdClient .Site.Params.adsenseDataAdSlot }}
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
- <ins
- class="adsbygoogle example_responsive_1"
- style="display:block"
- data-ad-client="{{ $.Site.Params.adsenseDataAdClient }}"
- data-ad-slot="{{ $.Site.Params.adsenseDataAdSlot }}"
- data-ad-format="auto"
- >
- </ins>
+ <div class="adsense">
+ <ins
+ class="adsbygoogle"
+ style="display:inline-block;min-width:300px;max-width:970px;width:100%;height:90px"
+ data-ad-client="{{ $.Site.Params.adsenseDataAdClient }}"
+ data-ad-slot="{{ $.Site.Params.adsenseDataAdSlot }}"
+ data-ad-format="auto"
+ >
+ </ins>
+ </div>
<script>
- (adsbygoogle = window.adsbygoogle || []).push({});
+ (adsbygoogle = window.adsbygoogle || []).push({});
</script>
{{ end }}