diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-05 13:52:59 +0200 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2019-06-05 13:52:59 +0200 |
commit | c55e859bd93016f7246ea62984f7eaa02a325736 (patch) | |
tree | e4729c569fb905f069ed8520f7dfce6cf280d10a /template.go | |
parent | Fix selection color in Chrome (diff) | |
download | gopherproxy-c55e859bd93016f7246ea62984f7eaa02a325736.tar.gz gopherproxy-c55e859bd93016f7246ea62984f7eaa02a325736.tar.bz2 gopherproxy-c55e859bd93016f7246ea62984f7eaa02a325736.zip |
Updated font handling
Diffstat (limited to 'template.go')
-rw-r--r-- | template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go index 6e541e2..81730a6 100644 --- a/template.go +++ b/template.go | |||
@@ -14,7 +14,7 @@ var tpltext = `<!doctype html> | |||
14 | <body> | 14 | <body> |
15 | <main class="wrap"> | 15 | <main class="wrap"> |
16 | <pre class="content"> | 16 | <pre class="content"> |
17 | {{if .Lines}}{{range .Lines}} {{if .Link}}<span class="link-type">({{.Type}})</span> <a class="link link-{{ .Type }}" href="{{.Link}}">{{.Text}}</a>{{else}} {{.Text}}{{end}} | 17 | {{if .Lines}}{{range .Lines}} {{if .Link}}<span class="link-type"> {{.Type}} </span> <a class="link link-{{ .Type }}" href="{{.Link}}">{{.Text}}</a>{{else}} {{.Text}}{{end}} |
18 | {{end}}{{else}}{{.RawText}}{{end}}</pre> | 18 | {{end}}{{else}}{{.RawText}}{{end}}</pre> |
19 | </main> | 19 | </main> |
20 | <script type="text/javascript"> | 20 | <script type="text/javascript"> |