From da21234fca7e316ca4dd8a21d7a15f11e1ee35ae Mon Sep 17 00:00:00 2001 From: joeyak Date: Sat, 23 Mar 2019 08:49:00 -0400 Subject: [PATCH] Fix formatting of golang template to be consistant. --- static/main.html | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/static/main.html b/static/main.html index 01d7e49..d413e08 100644 --- a/static/main.html +++ b/static/main.html @@ -1,47 +1,47 @@ {{define "header"}} -{{ if .Chat }} +{{if .Chat}} -{{ end }} +{{end}} -{{ if .Video }} +{{if .Video}} -{{ if not .Chat }} +{{if not .Chat}} -{{ end }} -{{ end }} +{{end}} +{{end}} -{{ if and .Video .Chat }} +{{if and .Video .Chat}} -{{ end }} +{{end}} {{end}} {{define "body"}} -{{ if .Video }} +{{if .Video}} -{{ end }} +{{end}} -{{ if .Chat }} +{{if .Chat}}

@@ -78,5 +78,5 @@ -{{ end }} +{{end}} {{end}} \ No newline at end of file