Due to the way my markup is structured, I have multiple HTML (ERB) templates starting with the body tag. So instead of adding hx-ext="head-support" on each and every one of them, I want to put it on the html tag which is declared once in my global layout file.
Will this work? I've been searching the docs but all examples use the body tag for hx-ext / hx-boost.
Due to the way my markup is structured, I have multiple HTML (ERB) templates starting with the
body
tag. So instead of addinghx-ext="head-support"
on each and every one of them, I want to put it on thehtml
tag which is declared once in my global layout file.Will this work? I've been searching the docs but all examples use the
body
tag forhx-ext
/hx-boost
.