<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>{{title}}</title>

    <link href="http://yui.yahooapis.com/pure/0.5.0/pure-min.css" rel="stylesheet">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
    <link href="/bower_components/rainbow/themes/github.css" rel="stylesheet">
    <link href="/css/style.css" rel="stylesheet">
</head>
<body>
    <div class="content">
        {{{body}}}
    </div>
    <script src="/bower_components/rainbow/js/rainbow.min.js"></script>
    <script src="/bower_components/rainbow/js/language/generic.js"></script>
    <script src="/js/script.js"></script>
    <script>
        {{{state}}}
    </script>
</body>
</html>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1"/>
    <title>{{title}}</title>

    <link href="http://yui.yahooapis.com/pure/0.5.0/pure-min.css" rel="stylesheet">
    <link href="http://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
    <link href="/bower_components/rainbow/themes/github.css" rel="stylesheet">
    <link href="/css/style.css" rel="stylesheet">
</head>
<body>
    <div class="content">
        {{{body}}}
    </div>
    <script>
        {{{state}}}
    </script>
    <script src="/bower_components/rainbow/js/rainbow.min.js"></script>
    <script src="/bower_components/rainbow/js/language/generic.js"></script>
    <script src="/js/script.js"></script>
</body>
</html>

Put exposed state earlier on the page
Put exposed state earlier on the page
