From d5ada0bce7f12b4f0f6fec96b7aec33a5799ffe0 Mon Sep 17 00:00:00 2001 From: Alexandre Iooss Date: Sun, 4 Oct 2020 18:00:20 +0200 Subject: [PATCH] Do not put path in title when one stream per domain --- web/template/_base.html | 2 +- web/template/viewer.html | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/web/template/_base.html b/web/template/_base.html index 86a4294..a899a7b 100644 --- a/web/template/_base.html +++ b/web/template/_base.html @@ -4,7 +4,7 @@ - {{if .Path}}{{.Path}} - {{end}}{{.Cfg.Name}} + {{if .Path}}{{if not .Cfg.OneStreamPerDomain}}{{.Path}} - {{end}}{{end}}{{.Cfg.Name}} diff --git a/web/template/viewer.html b/web/template/viewer.html index 8748418..50632dc 100644 --- a/web/template/viewer.html +++ b/web/template/viewer.html @@ -8,8 +8,7 @@

- +