diff --git a/internal/app/server_test.go b/internal/app/server_test.go
index f1bc4e7..81d2ec8 100644
--- a/internal/app/server_test.go
+++ b/internal/app/server_test.go
@@ -8,6 +8,35 @@ import (
"time"
)
+func TestEveryPageUsesStandaloneLogoMarkAsFavicon(t *testing.T) {
+ t.Parallel()
+ for _, file := range []string{
+ "templates/audit.html",
+ "templates/hosts.html",
+ "templates/login.html",
+ "templates/packages.html",
+ "templates/portal.html",
+ } {
+ content, err := webFiles.ReadFile(file)
+ if err != nil {
+ t.Fatal(err)
+ }
+ if !strings.Contains(
+ string(content),
+ ``,
+ ) {
+ t.Errorf("%s does not reference the standalone logo favicon", file)
+ }
+ }
+ mark, err := webFiles.ReadFile("static/ta-mark.svg")
+ if err != nil {
+ t.Fatal(err)
+ }
+ if bytes.Count(mark, []byte("
+ Technology Architects
+
+
+
+
+
diff --git a/internal/app/templates/audit.html b/internal/app/templates/audit.html
index 73ade30..ab393b6 100644
--- a/internal/app/templates/audit.html
+++ b/internal/app/templates/audit.html
@@ -5,6 +5,7 @@
{{.Title}} · TAPM
+
diff --git a/internal/app/templates/hosts.html b/internal/app/templates/hosts.html
index 1f82fec..f27afee 100644
--- a/internal/app/templates/hosts.html
+++ b/internal/app/templates/hosts.html
@@ -5,6 +5,7 @@
{{.Title}} · TAPM
+
diff --git a/internal/app/templates/login.html b/internal/app/templates/login.html
index 92b2129..1acb313 100644
--- a/internal/app/templates/login.html
+++ b/internal/app/templates/login.html
@@ -5,6 +5,7 @@
{{.Title}}
+
diff --git a/internal/app/templates/packages.html b/internal/app/templates/packages.html
index 0903ab2..a6bf572 100644
--- a/internal/app/templates/packages.html
+++ b/internal/app/templates/packages.html
@@ -5,6 +5,7 @@
{{.Title}} · TAPM
+
diff --git a/internal/app/templates/portal.html b/internal/app/templates/portal.html
index 953fc38..c8a3d1f 100644
--- a/internal/app/templates/portal.html
+++ b/internal/app/templates/portal.html
@@ -5,6 +5,7 @@
{{.Title}} · TAPM
+