`; } catch (err) { console.error('loadPost error:', err); renderNotFound(); } } function renderNotFound() { document.getElementById('article-wrap').innerHTML = `

Article Not Found

This post may have been removed or the URL is incorrect.

← Return to The Public Record

`; } loadPost().then(() => { // Inject sidebar ads after dynamic content renders const adHTML = ``; const ad1 = document.getElementById('sidebar-ad-1'); const ad2 = document.getElementById('sidebar-ad-2'); if (ad1) ad1.innerHTML = adHTML; if (ad2) ad2.innerHTML = adHTML; try { (window.adsbygoogle = window.adsbygoogle || []).push({}); (window.adsbygoogle = window.adsbygoogle || []).push({}); (window.adsbygoogle = window.adsbygoogle || []).push({}); } catch(e) {} });