layout.hbs 1.54 KB
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>{{title}}</title>
        <meta name="keywords" content="{{keywords}}">
        <meta name="description" content="{{description}}">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no">
        <meta http-equiv="cleartype" content="on">
        <meta name="apple-mobile-web-app-status-bar-style" content="black" />
        <meta content="telephone=no" name="format-detection" />
        <meta content="email=no" name="format-detection" />
        <meta name="renderer" content="webkit">
        <link rel="dns-prefetch" href="//cdn.yoho.cn">
        <link rel="dns-prefetch" href="//static.yohobuy.com">
        <link rel="dns-prefetch" href="//img12.static.yhbimg.com">
        <link rel="dns-prefetch" href="//img13.static.yhbimg.com">
        {{#if devEnv}}
            <link rel="stylesheet" href="//localhost:5003/css/index.css">
        {{^}}
            <link rel="stylesheet" href="//cdn.yoho.cn/yoho-blk/{{version}}/index.css">
        {{/if}}
    </head>
    <body>
        {{> header}}

        {{{body}}}

        {{> footer}}
        {{#if devEnv}}
            <script src="//localhost:5003/libs.js"></script>
            <script src="//localhost:5003/{{module}}.{{page}}.js"></script>
        {{^}}
            <script src="//cdn.yoho.cn/yoho-blk/{{version}}/libs.js"></script>
            <script src="//cdn.yoho.cn/yoho-blk/{{version}}/{{module}}.{{page}}.js"></script>
        {{/if}}
    </body>
</html>