diff --git a/templates/index.html b/templates/index.html
index efb9475..a5833eb 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -23,6 +23,10 @@
.light a:visited:hover {
color: #518;
}
+ :not(:hover) .optional-port {
+ color: #ccc;
+ }
+
@@ -33,7 +37,7 @@
{{.Title}}
- Description: {{.Description}}
- - Connection String: {{.Host}}{{if ne .Port 34197}}:{{.Port}}{{end}}
+ - Connection String: {{.Host}}{{if eq .Port 34197}}:{{.Port}}{{else}}:{{.Port}}{{end}}
{{if ne .RCONHost ""}}
- Version: {{.Version}}
- Current players:
{{.Players}}