UNPKG

@cobalt-engine/cobalt

Version:

34 lines (29 loc) 988 B
<!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=<%= options.viewportScale %>, maximum-scale=<%= options.viewportScale %>"> <meta name="apple-mobile-web-app-capable" content="yes"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <meta name="format-detection" content="telephone=no"> <!-- components --> <% if(options.commonComponents){ %><rv-template name="common-components"></rv-template><%}%> <!-- /components --> <!-- styles --> <% if(options.css){ %><link rel="stylesheet" href="styles/<%= options.name %>.css"><%}%> <!-- /styles --> </head> <body> <article class="slide"> <% if(options.layout){ %> <!-- layout --> <rv-template name="layout"></rv-template> <!-- /layout --> <%}%> <% if(options.greeting){ %> <h1 rv-html="t.greeting"></h1> <%}%> </article> <script src="../spa/bundle.js"></script> </body> </html>