custom_head partial not rendering in Docsy v0.11.0 (Hugo module) #2235
-
|
Hi all, I'm using Docsy as a Hugo module, in a public site:
I'm trying to embed a Gurubase widget using Despite this setup:
Is there a known issue with params.ui.custom_head not working in recent module-based setups? Thanks in advance for any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi, unless I'm missing something, the docsy base templates do not reference the custom-head.html file, by default, so unless you've added some additional customization they'll just ignore it. But the default templates do provide a hook to include custom stuff at the end of the head section, just create the |
Beta Was this translation helpful? Give feedback.
-
|
Thank you! This actually solved it |
Beta Was this translation helpful? Give feedback.
Hi, unless I'm missing something, the docsy base templates do not reference the custom-head.html file, by default, so unless you've added some additional customization they'll just ignore it. But the default templates do provide a hook to include custom stuff at the end of the head section, just create the
layouts/partials/hooks/head-end.htmlfile in your project repo and add your script here.