ads placement - tbd
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
---
|
||||
import BackToTop from "./BackToTop.astro"
|
||||
import LeftSidebarDesktop from "./LeftSidebarDesktop.astro"
|
||||
---
|
||||
<div class="row mb-4">
|
||||
<div class="col-md-2">
|
||||
@@ -13,6 +14,7 @@ import BackToTop from "./BackToTop.astro"
|
||||
<div id="facetContainer"></div>
|
||||
</div>
|
||||
</div>
|
||||
<LeftSidebarDesktop />
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-10 mt-0">
|
||||
<div class="d-flex flex-column gap-1 flex-md-row align-items-center mb-3 w-100 justify-content-start">
|
||||
@@ -388,5 +390,11 @@ import BackToTop from "./BackToTop.astro"
|
||||
currentCardId = null;
|
||||
updateNavButtons(null);
|
||||
});
|
||||
|
||||
// ── AdSense re-init on infinite scroll ───────────────────────────────────
|
||||
document.addEventListener('htmx:afterSwap', () => {
|
||||
(window.adsbygoogle = window.adsbygoogle || []).push({});
|
||||
});
|
||||
|
||||
})();
|
||||
</script>
|
||||
Reference in New Issue
Block a user