Files used
- ads.html — central ad templates and AdSense slot IDs.
- assets/js/ads.js — automatically injects ads into article pages.
- assets/css/style.min.css — responsive and sticky ad styling.
Ad placements
| Placement | Position | Behavior |
|---|---|---|
| Display Ad | Top of article content | Responsive Display Ad |
| In-article | Before the third article section | Fluid in-article ad |
| Sticky | Inside right table-of-contents column | Sticky on desktop, normal block on mobile |
Important: Replace
ca-pub-7453434486769551 and the data-ad-slot value 2891806112 in ads.html and assets/js/ads.js with your real AdSense account values before publishing.