<!doctype html> <html lang="en"> <head>     <meta charset="UTF-8">     <title>Document</title>     {block name="css"}         <link rel="stylesheet" href="stylesheets/mystyle.css" media="all" />     {/block}     {block name="js"}         <script src="js/jquery-1.11.1.min.js"></script>     {/block} </head> <body>  {block name="content"}{/block} <script> {block name="js-code"}      function test() {     } {/block} </script> </body> </html>

Read more of this post