nodram
Version:
A Really MEAN Web Framework
45 lines (33 loc) • 1.26 kB
HTML
<html>
<head>
<base href="/">
<title><%= title %></title>
<meta charset="UTF-8">
<!--1. Set Meta-->
<% _.forEach(metas, function(meta) { %><meta name="<%- meta.name %>" content="<%- meta.content %>"/><%- '\n\t' %><%}); %>
<!--2. Set Favicons-->
<% _.forEach(favicons, function(icon) { %><link rel="icon" href="<%- icon %>"/><%- '\n\t' %><%}); %>
<!--3. Set Styles-->
<%_.forEach(styles, function(style) { %><link rel="stylesheet" href="<%- style %>"/><%- '\n\t' %><%}); %>
<!-- 4. Set Scripts -->
<% _.forEach(scripts, function(script) { %><script src="<%- script %>"></script><%- '\n\t' %><%}); %>
<!-- 2. Configure SystemJS -->
<script src="app/systemjs.config.js"></script>
<script>
System.import('app').catch(function(err){ console.error(err); });
</script>
</head>
<body>
<app>
<div id="app-loader">
<div class="overlay"></div>
<span class="loading-text">Loading</span>
<span class="loading-spinner">
<i class="one"></i>
<i class="two"></i>
<i class="three"></i>
</span>
</div>
</app>
</body>
</html>