diff options
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r-- | templates/header.tmpl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/templates/header.tmpl b/templates/header.tmpl index 9334e81..8d05014 100644 --- a/templates/header.tmpl +++ b/templates/header.tmpl @@ -3,8 +3,11 @@ <head> <meta charset='utf-8'> <meta content='width=device-width, initial-scale=1' name='viewport'> - <title> Web </title> - <link rel="stylesheet" href="/static/main.css" /> + <title>{{if gt .NotificationCount 0}}({{.NotificationCount}}) {{end}}{{.Title}}</title> + <link rel="stylesheet" href="/static/main.css"> + {{if .CustomCSS}} + <link rel="stylesheet" href="{{.CustomCSS}}"> + {{end}} <link rel="stylesheet" href="/static/fonts/fork-awesome.css"> </head> <body> |