[FR] Provide Twig Method to Add to End Body #5955
Labels
enhancement
improvements to existing features
site development 👩💻
features related to website/API development
Milestone
The
css
andjs
Twig tags already exist, but it would be really cool if there were a generic tag to add any code/string before the</body>
and didn't do any processing to the string being passed in. This is useful for stuff like modals, etc. This is kind of why the Twig Portal plugin was created, except you can choose where the contents gets output too. We solved this by creating a custom Twig functionaddToEndBody
that hooks intoEVENT_END_BODY
, but it would be pretty cool to see this be a part of core.The text was updated successfully, but these errors were encountered: