Gmeek icon indicating copy to clipboard operation
Gmeek copied to clipboard

如何添加AdSense

Open huawuhen opened this issue 1 year ago • 1 comments

1、config添加如下:

 "style":"<style>#postBody{font-size:20px}</style>",
    "script":"<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0117452261760390"   crossorigin="anonymous"></script>",

2、但是构建报错这行。

huawuhen avatar Nov 05 '24 09:11 huawuhen

"script":"<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-0117452261760390"   crossorigin="anonymous"></script>",

双引号内部需要使用单引号

Meekdai avatar Nov 06 '24 03:11 Meekdai