2018-11-04 06:22:46 +00:00
|
|
|
<%! data *indexData, cssPath string, inlineScript string, scripts []string %>
|
2016-03-16 22:23:16 +00:00
|
|
|
|
2018-05-25 21:54:36 +00:00
|
|
|
<%% import "github.com/mailru/easyjson" %%>
|
2016-03-16 22:23:16 +00:00
|
|
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2018-11-04 06:22:46 +00:00
|
|
|
|
2016-03-16 22:23:16 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2018-11-04 06:22:46 +00:00
|
|
|
<meta name="theme-color" content="#222">
|
2016-03-16 22:23:16 +00:00
|
|
|
|
|
|
|
<title>Dispatch</title>
|
|
|
|
|
2018-09-18 20:09:08 +00:00
|
|
|
<link rel="preload" href="/font/fontello.woff2?48901973" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
<link rel="preload" href="/font/RobotoMono-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
<link rel="preload" href="/font/Montserrat-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
<link rel="preload" href="/font/Montserrat-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
<link rel="preload" href="/font/RobotoMono-Bold.woff2" as="font" type="font/woff2" crossorigin="anonymous">
|
|
|
|
|
2018-11-04 06:22:46 +00:00
|
|
|
<% if cssPath != "" { %>
|
2018-11-07 00:35:53 +00:00
|
|
|
<link href="<%== cssPath %>" rel="stylesheet">
|
2018-11-04 06:22:46 +00:00
|
|
|
<% } %>
|
2018-11-06 10:13:32 +00:00
|
|
|
|
2017-03-23 19:55:34 +00:00
|
|
|
<link rel="icon" href="data:;base64,=">
|
2018-11-04 06:22:46 +00:00
|
|
|
|
|
|
|
<script><%== inlineScript %></script>
|
2016-03-16 22:23:16 +00:00
|
|
|
</head>
|
2018-11-04 06:22:46 +00:00
|
|
|
|
2016-03-16 22:23:16 +00:00
|
|
|
<body>
|
|
|
|
<div id="root"></div>
|
2018-11-06 10:13:32 +00:00
|
|
|
|
|
|
|
<% if data != nil { %>
|
2018-05-25 21:54:36 +00:00
|
|
|
<script id="env" type="application/json"><% easyjson.MarshalToWriter(data, w) %></script>
|
2018-11-06 10:13:32 +00:00
|
|
|
<% } %>
|
|
|
|
|
2018-11-04 06:22:46 +00:00
|
|
|
<% for _, script := range scripts { %>
|
2018-11-07 00:35:53 +00:00
|
|
|
<script src="<%== script %>"></script>
|
2018-11-04 06:22:46 +00:00
|
|
|
<% } %>
|
2016-03-16 22:23:16 +00:00
|
|
|
</body>
|
2018-11-04 06:22:46 +00:00
|
|
|
|
2016-03-16 22:23:16 +00:00
|
|
|
</html>
|