#{extends 'main.html' /}
#{greenscript.js 'gallery' , name:'head' /}
#{greenscript.js name:'head'}
//Some other js I would like to concat to the head script
#{/greenscript.js}
#{greenscript.js 'libs/placeholder', name:'bottom' /}
<!-- content start -->
Inline script or file with same name will be concatenated to one and the appear to the location in main.html
I think a custom name would be useful to manage js output location.
e.g. In a main.html
Then in somepage.html
Inline script or file with same
name
will be concatenated to one and the appear to the location inmain.html