Closed ChilledChild closed 4 years ago
Hi @ChilledChild,
thanks for your suggestion. Technically, this shouldn't be a problem. However, conceptually, there might already be a more elegant built-in Hugo solution. In my view, the most customizability would be given by including a custom partial HTML in the head that the user can configure (not only limiting to scripts). I'll look into it when I have time!
Implemented in 88674692c77d324b09f678477ca7f562aaa5b27e (dev) Makes use of Hugo's load order for partials! :rocket:
Could there be a function that will insert a script into the html head? Similar to googleAnalytics from config.html, another function such as headInserts would allow a user to embed custom functions without making direct changes to head.html.