- First commit to issue fork.
- last update
about 1 year ago 6 pass - @chrissnyder opened merge request.
- last update
about 1 year ago 6 pass - πΊπΈUnited States chrissnyder Maryland
The MR and the attached patch add two twig functions,
attach_inline_js
andattach_inline_css
, that can be used to add inline CSS and JS.Example use cases:
{{ attach_inline_css("body { background-color: #000 !important; }") }}
{{ attach_inline_js("console.log('Hello World!');", {'scope': 'header'}) }}
- Status changed to Needs review
about 1 year ago 2:00am 27 September 2023 8:45 8:06 Running