Skip to content

Commit 4eed1b0

Browse files
feat(adsense): Testing adsense
1 parent 35f99c2 commit 4eed1b0

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
FROM nginx:stable-alpine
22

33
COPY _site /usr/share/nginx/html
4+
COPY ads.txt /usr/share/nginx/html

_includes/advertisement.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
crossorigin="anonymous"></script>
44
<!-- technotim docs ad unit -->
55
<ins class="adsbygoogle"
6-
style="display:inline-block;width:728px;height:90px"
6+
style="display:block"
77
data-ad-client="ca-pub-1872619258207885"
8-
data-ad-slot="7864151063"></ins>
8+
data-ad-slot="7864151063"
9+
data-ad-format="auto"
10+
data-full-width-responsive="true"></ins>
911
<script>
1012
(adsbygoogle = window.adsbygoogle || []).push({});
1113
</script>

ads.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
google.com, pub-1872619258207885, DIRECT, f08c47fec0942fa0

0 commit comments

Comments
 (0)