My web application is structured as follows:
- master.html (contains the master layout for the page)
- page.html (contains the content of an individual page)
- child.html (contains some data that may or may not be loaded)
I've got javascript in the child.html that needs to go beneath my jQuery link in master.html. Does Twig have a tag such that this is possible?
Clarifying with an example of sample output:
<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
<!-- Content of page.html, which has content from child.html within it -->
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script>
<!-- Scripts from child.html -->
</body>
</html>