<!DOCTYPE html>
<html>
 <head>
   <title><%= title %></title>
   <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
   <meta name="viewport" content="width=device-width, initial-scale=1.0">
   <!--  <script src="https://d3js.org/d3.v4.min.js" charset="utf-8"></script> -->
   <%= javascript "/ext/d3.v4.min.js"; %>
   <%= stylesheet "/global/layout.css" %>
   <%= stylesheet "/global/nav/cssSide.css" %>
   <%= stylesheet "/global/nav/cssNav.css" %>
   <%= stylesheet "/global/chaos/c.css" %>
  <% map{%><%= stylesheet "$_"%><%}(@{stash('css')}) if defined(stash('css'));%>
 </head>
  <body>
  %= include 'home/htmlNav'
  %= include 'home/htmlSide'
  <% map{%><%= include "$_"%><%}(@{stash('prepend')}) 
    if defined(stash('prepend'));%>
    <%= content %>
  <% map{%><%= include "$_"%><%}(@{stash('apend')}) 
    if defined(stash('apend'));%>
  %= include 'home/htmlChaos'
   <%= javascript "/global/nav/d3Side.js"; %>
  <% map{%><%= javascript "$_"%><%}(@{stash('js')}) if defined(stash('js'));%>
  </body>
</html>

