File tree Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Expand file tree Collapse file tree 1 file changed +16
-9
lines changed Original file line number Diff line number Diff line change @@ -429,15 +429,22 @@ def generate_question_cards():
429
429
for i , x in enumerate (question_objects (section ))
430
430
]
431
431
def ad_maven_card ():
432
- return '''<amp-ad width="100vw" height="320"
433
- type="adsense"
434
- data-ad-client="ca-pub-2090178937498462"
435
- data-ad-slot="8188391527"
436
- data-auto-format="rspv"
437
- data-full-width="">
438
- <div overflow=""></div>
439
- </amp-ad>'''
440
-
432
+ return Div (
433
+ Script (
434
+ src = 'https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-2090178937498462' ,
435
+ crossorigin = 'anonymous'
436
+ ),
437
+ Ins (
438
+ cls = "adsbygoogle" ,
439
+ style = "display:block" ,
440
+ data_ad_format = "fluid" ,
441
+ data_ad_layout_key = "-6w+ed+2i-1n-4w" ,
442
+ data_ad_client = "ca-pub-2090178937498462" ,
443
+ data_ad_slot = "7186574111"
444
+ ),
445
+ Script ("(adsbygoogle = window.adsbygoogle || []).push({});" ),
446
+ cls = "w-96 h-auto"
447
+ )
441
448
442
449
443
450
You can’t perform that action at this time.
0 commit comments