|
1 | 1 | <!DOCTYPE html> |
2 | | -<html{% if(o.htmlWebpackPlugin.files.manifest) { %} manifest="{%= o.htmlWebpackPlugin.files.manifest %}"{% } %}> |
| 2 | +<html<% if( htmlWebpackPlugin.files.manifest) { %> manifest="<%= htmlWebpackPlugin.files.manifest %>"<% } %>> |
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | | - <title>{%=o.htmlWebpackPlugin.options.title%}</title> |
| 5 | + <title><%= htmlWebpackPlugin.options.title %></title> |
6 | 6 | <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> |
7 | 7 | <meta name="mobile-web-app-capable" content="yes"> |
8 | 8 | <meta name="apple-mobile-web-app-capable" content="yes"> |
9 | 9 | <meta name="format-detection" content="telephone=no"> |
10 | | - {% if (o.htmlWebpackPlugin.options.manifest) { %} |
11 | | - <link rel="manifest" href="{%=o.htmlWebpackPlugin.options.manifest%}"> |
12 | | - {% } %} |
13 | | - {% if (o.htmlWebpackPlugin.options.themeColor) { %} |
14 | | - <meta name="theme-color" content="{%=o.htmlWebpackPlugin.options.themeColor%}"> |
15 | | - {% } %} |
16 | | - {% if (o.htmlWebpackPlugin.files.favicon) { %} |
17 | | - <link rel="shortcut icon" href="{%=o.htmlWebpackPlugin.files.favicon%}"> |
18 | | - {% } %} |
19 | | - {% if (o.htmlWebpackPlugin.options.icon) { %} |
20 | | - <link rel="icon" sizes="300x300" href="{%=o.htmlWebpackPlugin.options.icon%}"> |
21 | | - {% } %} |
22 | | - {% for (var css in o.htmlWebpackPlugin.files.css) { %} |
23 | | - <link href="{%=o.htmlWebpackPlugin.files.css[css] %}" rel="stylesheet"> |
24 | | - {% } %} |
| 10 | + <% if ( htmlWebpackPlugin.options.manifest) { %> |
| 11 | + <link rel="manifest" href="<%= htmlWebpackPlugin.options.manifest %>"> |
| 12 | + <% } %> |
| 13 | + <% if ( htmlWebpackPlugin.options.themeColor) { %> |
| 14 | + <meta name="theme-color" content="<%= htmlWebpackPlugin.options.themeColor %>"> |
| 15 | + <% } %> |
| 16 | + <% if ( htmlWebpackPlugin.files.favicon) { %> |
| 17 | + <link rel="shortcut icon" href="<%= htmlWebpackPlugin.files.favicon %>"> |
| 18 | + <% } %> |
| 19 | + <% if ( htmlWebpackPlugin.options.icon) { %> |
| 20 | + <link rel="icon" sizes="300x300" href="<%= htmlWebpackPlugin.options.icon %>"> |
| 21 | + <% } %> |
| 22 | + <% for (var css in htmlWebpackPlugin.files.css) { %> |
| 23 | + <link href="<%= htmlWebpackPlugin.files.css[css] %>" rel="stylesheet"> |
| 24 | + <% } %> |
25 | 25 | </head> |
26 | 26 | <body> |
27 | | - {% for (var chunk in o.htmlWebpackPlugin.files.chunks) { %} |
28 | | - <script src="{%=o.htmlWebpackPlugin.files.chunks[chunk].entry %}"></script> |
29 | | - {% } %} |
| 27 | + <% for (var chunk in htmlWebpackPlugin.files.chunks) { %> |
| 28 | + <script src="<%= htmlWebpackPlugin.files.chunks[chunk].entry %>"></script> |
| 29 | + <% } %> |
30 | 30 |
|
31 | 31 | <script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
32 | 32 | ga('create', 'UA-6031694-19', 'auto');ga('send', 'pageview');</script> |
|
0 commit comments