aboutsummaryrefslogtreecommitdiff
path: root/templates/header.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2019-12-25 16:38:47 +0000
committerr <r@freesoftwareextremist.com>2019-12-25 16:38:47 +0000
commit656ff3931cf86c50a0b54da43cbf5f68344c58e0 (patch)
tree611800a2047eb75b62460f0c8a2ec18b0d9ce61a /templates/header.tmpl
parentbde2c03495c0e032415e8bec484fcbbcb9f4c644 (diff)
downloadbloat-656ff3931cf86c50a0b54da43cbf5f68344c58e0.tar.gz
bloat-656ff3931cf86c50a0b54da43cbf5f68344c58e0.zip
Update header template and add option for custom css
Diffstat (limited to 'templates/header.tmpl')
-rw-r--r--templates/header.tmpl7
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>