<html {{htmlAttributes}}>
<head>
{{#each css}}  <link rel="stylesheet" href="{{bundledJsCssPrefix}}{{url}}">{{/each}}

{{#if inlineScriptsAllowed}}
<script type='text/javascript'>__meteor_runtime_config__ = {{meteorRuntimeConfig}};</script>
{{else}}
<script type='text/javascript' src='{{rootUrlPathPrefix}}/meteor_runtime_config.js'></script>
{{/if}}
{{#each js}}  <script type="text/javascript" src="{{bundledJsCssPrefix}}{{url}}"></script>
{{/each}}
{{#if inlineScriptsAllowed}}
<script type='text/javascript'>{{{reloadSafetyBelt}}}</script>
{{else}}
<script type='text/javascript' src='{{rootUrlPathPrefix}}/meteor_reload_safetybelt.js'></script>
{{/if}}
{{{head}}}
</head>
<body>
{{{body}}}
</body>
</html>

<html {{htmlAttributes}}>
<head>
{{#each css}}  <link rel="stylesheet" href="{{../bundledJsCssPrefix}}{{url}}">{{/each}}

{{#if inlineScriptsAllowed}}
<script type='text/javascript'>__meteor_runtime_config__ = {{meteorRuntimeConfig}};</script>
{{else}}
<script type='text/javascript' src='{{rootUrlPathPrefix}}/meteor_runtime_config.js'></script>
{{/if}}
{{#each js}}  <script type="text/javascript" src="{{../bundledJsCssPrefix}}{{url}}"></script>
{{/each}}
{{#if inlineScriptsAllowed}}
<script type='text/javascript'>{{{reloadSafetyBelt}}}</script>
{{else}}
<script type='text/javascript' src='{{rootUrlPathPrefix}}/meteor_reload_safetybelt.js'></script>
{{/if}}
{{{head}}}
</head>
<body>
{{{body}}}
</body>
</html>

Fix 0.8.1 regression in ROOT_URL with path
Fix 0.8.1 regression in ROOT_URL with path

Fixes #2109.
