<body>
  <h1>Layout header</h1>
  <section>
    <% @yield %>
  </section>
  <footer>
    <h4>Layout footer</h4>
  </footer>
  <script>alert("Hello")</script>
  <script src="foo.js"></script>
  <script type="text/javascript">alert("Hello")</script>
  <script type="text/javascript" src="foo.js"></script>
</body>