aboutsummaryrefslogtreecommitdiffstats
path: root/template.go
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2019-11-20 16:00:27 +0100
committerFeuerfuchs <git@feuerfuchs.dev>2019-11-20 16:00:27 +0100
commit186342b28fab52b91bc7b033bccdc65ca4250955 (patch)
tree6da98fa28bbcd1507d4754fb2b236210f702c78d /template.go
parentStartpage update (diff)
downloadgopherproxy-186342b28fab52b91bc7b033bccdc65ca4250955.tar.gz
gopherproxy-186342b28fab52b91bc7b033bccdc65ca4250955.tar.bz2
gopherproxy-186342b28fab52b91bc7b033bccdc65ca4250955.zip
Fix title on startpage
Diffstat (limited to 'template.go')
-rw-r--r--template.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/template.go b/template.go
index 70453b0..6b90cc0 100644
--- a/template.go
+++ b/template.go
@@ -5,7 +5,7 @@ var tpltext = `<!doctype html>
5 <head> 5 <head>
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 }} - {{ .Protocol | title }} proxy</title> 8 <title>{{ .Title }}{{ if ne .Protocol "startpage" }} - {{ .Protocol | title }} proxy{{ end }}</title>
9 <link rel="stylesheet" href="{{ .Assets.Style }}" /> 9 <link rel="stylesheet" href="{{ .Assets.Style }}" />
10 <style> 10 <style>
11 @font-face { 11 @font-face {