diff --git a/templates/base.html b/templates/base.html index f23789e..12c3e19 100755 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ StreamWatcher - + {{ template "head" .}} {{template "content" .}} diff --git a/templates/stream.html b/templates/stream.html index 80fa04a..4bbc39d 100755 --- a/templates/stream.html +++ b/templates/stream.html @@ -1,4 +1,7 @@ {{template "base" .}} +{{define "head"}} + +{{end}} {{define "content"}}
Not supported @@ -37,7 +40,6 @@ {{ $watchArea.Area.Max.X }} {{ $watchArea.Area.Max.Y }} - {{end}} {{end}} \ No newline at end of file