# Page Publishing and custom headers?

**URL:** https://meta.discourse.org/t/page-publishing-and-custom-headers/378889
**Category:** Support
**Created:** [August 16, 2025, 6:52pm UTC](https://meta.discourse.org/t/page-publishing-and-custom-headers/378889 "2025-08-16T18:52:29Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![yawnxyz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/yawnxyz/32/516422_2.png) [@yawnxyz](https://meta.discourse.org/u/yawnxyz)
#### Post date: [August 16, 2025, 6:52pm UTC](https://meta.discourse.org/t/page-publishing-and-custom-headers/378889/1 "2025-08-16T18:52:29Z")

</div>

Someone asked: [Does Mermaid work in published pages? - #2 by Tris20](https://meta.discourse.org/t/does-mermaid-work-in-published-pages/282418/2)

I have similar questions about the approach to Page Publishing — I don’t think `head_tag.html` works, since I don’t think Ember runs on these pages.

I’d love to add scripts to the `<head>` or add js in places, for things like posthog to work; ideally I’d love to be able to add posthog, alpinejs, and add some extra functionality in these pages without battling csp

---

_[View the full topic](https://meta.discourse.org/t/page-publishing-and-custom-headers/378889)._
