Fix template

This commit is contained in:
Chandler Swift 2020-03-20 11:48:01 -05:00
parent b8343c70cd
commit 429a6e6ad3

View file

@ -12,7 +12,7 @@
<body> <body>
<h1>blackolivepineapple.pizza Factorio Server</h1> <h1>blackolivepineapple.pizza Factorio Server</h1>
<ul> <ul>
<li><b>Connection String:</b> {{.IPAddr}}{{if .Port != 34197}}:{{.Port}}{{end}}</li> <li><b>Connection String:</b> {{.IPAddr}}{{if ne .Port 34197}}:{{.Port}}{{end}}</li>
<li><b>Server Name:</b> {{.Title}}</li> <li><b>Server Name:</b> {{.Title}}</li>
<li><b>Current players:</b><br>{{.Players}}</li> <li><b>Current players:</b><br>{{.Players}}</li>
</ul> </ul>