diff options
| author | Fuwn <[email protected]> | 2026-01-19 17:02:55 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-01-19 17:02:55 -0800 |
| commit | 475581c21f371140400db1a379d2b27369d99e67 (patch) | |
| tree | 7c0e9cf5f1894e89a7cfafe9145d06c4323c032b | |
| parent | feat: Add round_uptime option to round uptime percentages (diff) | |
| download | kaze-475581c21f371140400db1a379d2b27369d99e67.tar.xz kaze-475581c21f371140400db1a379d2b27369d99e67.zip | |
feat: Add wind emoji (💨) as default favicon
| -rw-r--r-- | internal/server/templates/index.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/server/templates/index.html b/internal/server/templates/index.html index c6e2a81..831f24a 100644 --- a/internal/server/templates/index.html +++ b/internal/server/templates/index.html @@ -5,7 +5,11 @@ <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{{.Site.Name}}</title> <meta name="description" content="{{.Site.Description}}"> - {{if .Site.Favicon}}<link rel="icon" href="{{.Site.Favicon}}">{{end}} + {{if .Site.Favicon}} + <link rel="icon" href="{{.Site.Favicon}}"> + {{else}} + <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>💨</text></svg>"> + {{end}} <link rel="stylesheet" href="/static/style.css"> <script> // Theme detection |