diff options
Diffstat (limited to 'template.go')
-rw-r--r-- | template.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/template.go b/template.go index b42f811..9582e3a 100644 --- a/template.go +++ b/template.go | |||
@@ -6,9 +6,10 @@ var tpltext = `<!doctype html> | |||
6 | <meta charset="utf-8"> | 6 | <meta charset="utf-8"> |
7 | <meta name="viewport" content="width=device-width, initial-scale=1" /> | 7 | <meta name="viewport" content="width=device-width, initial-scale=1" /> |
8 | <title>{{.Title}}</title> | 8 | <title>{{.Title}}</title> |
9 | <link rel="preload" href="/assets/style.css" as="style" /> | ||
10 | <link rel="preload" href="/assets/IBMPlexMono-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> | 9 | <link rel="preload" href="/assets/IBMPlexMono-Regular.woff2" as="font" type="font/woff2" crossorigin="anonymous" /> |
11 | <link rel="stylesheet" href="/assets/style.css" /> | 10 | <style> |
11 | {{.Style | safeCss}} | ||
12 | </style> | ||
12 | </head> | 13 | </head> |
13 | <body> | 14 | <body> |
14 | <main class="wrap"> | 15 | <main class="wrap"> |