diff options
| author | Fuwn <[email protected]> | 2026-01-20 05:50:14 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-20 05:50:14 -0800 |
| commit | c0d483df58b2ed04fb5b3a42297dfdbfec4c76c7 (patch) | |
| tree | 326a06640d6947ff79ba5bbc2f90d02871706068 /internal/server/templates/index.html | |
| parent | fix: Auto-select first item in command palette (diff) | |
| download | kaze-c0d483df58b2ed04fb5b3a42297dfdbfec4c76c7.tar.xz kaze-c0d483df58b2ed04fb5b3a42297dfdbfec4c76c7.zip | |
feat: Add status indicator to browser tab title
Diffstat (limited to 'internal/server/templates/index.html')
| -rw-r--r-- | internal/server/templates/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html index d70b496..3c35f42 100644 --- a/internal/server/templates/index.html +++ b/internal/server/templates/index.html @@ -12,7 +12,7 @@ {{end}} <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <title>{{.Site.Name}}</title> + <title>{{if eq .OverallStatus "All Systems Operational"}}[OK]{{else if eq .OverallStatus "Partial Outage"}}[!{{.StatusCounts.Degraded}}]{{else}}[X{{.StatusCounts.Down}}]{{end}} {{.Site.Name}}</title> <meta name="description" content="{{.Site.Description}}"> {{if .Site.Favicon}} <link rel="icon" href="{{.Site.Favicon}}"> |