aboutsummaryrefslogtreecommitdiffstats
path: root/template.go
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-06-04 22:28:02 +0200
committerFeuerfuchs <git@feuerfuchs.dev>2019-06-04 22:28:02 +0200
commitce19e19efce3139d2c7b4024274b6ed2683e015e (patch)
treea6a06ff79bceec34fcf47c0721f03bd5e0f943fb /template.go
parentAdd custom styles (diff)
downloadgopherproxy-ce19e19efce3139d2c7b4024274b6ed2683e015e.tar.gz
gopherproxy-ce19e19efce3139d2c7b4024274b6ed2683e015e.tar.bz2
gopherproxy-ce19e19efce3139d2c7b4024274b6ed2683e015e.zip
Style improvements
Diffstat (limited to 'template.go')
-rw-r--r--template.go5
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">