Closed tiagocaus closed 1 year ago
Is it possible to pass specific script/stylesheet that are on the page to the template?
Similar to what happens with {{{body}}}
{{{body}}}
Let's suppose that on page X, I need to pass some specific script, which will only be used on page X.
There is something like (illustrative example):
{script start} <script src="assets/js/customX.min.js"></script> <script> Bla bla bla bla bla <script> {script end}
There in the template file, I capture everything that is in the session of the example above.
{{script}}
Is it possible to pass specific script/stylesheet that are on the page to the template?
Similar to what happens with
{{{body}}}
Let's suppose that on page X, I need to pass some specific script, which will only be used on page X.
There is something like (illustrative example):
There in the template file, I capture everything that is in the session of the example above.
There is something like (illustrative example):