Pass JS/CSS from page to template handlebars

Is it possible to pass specific script/stylesheet that are on the page to the template?

Similar to what happens with }

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.

There is something like (illustrative example):


Image of the structure of what I want to pass to the template.

enter image description here



Comments

Popular posts from this blog

Today Walkin 14th-Sept

Hibernate Search - Elasticsearch with JSON manipulation

Spring Elasticsearch Operations