baseof: support multiple ads per page

This commit is contained in:
liushuyu 2021-06-12 22:52:05 -06:00
parent ad5b1e22ec
commit 9f449cfedd
No known key found for this signature in database
GPG Key ID: 23D1CE4534419437

View File

@ -105,7 +105,9 @@
{{- if eq (getenv "HUGO_ENV") "PRD" }}
<script type="text/javascript">
(adsbygoogle = window.adsbygoogle || []).push({});
for (var i = 0; i < document.getElementsByClassName('adsbygoogle').length; i++) {
(adsbygoogle = window.adsbygoogle || []).push({});
}
</script>
{{- end }}
</body>