From 9707f462596d781c253c9e34b7493f8fe1724f56 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Sun, 12 Jul 2020 14:44:58 +0000 Subject: [PATCH] added 'head' tag to base.html, moved stream.js import there for stream.html --- templates/base.html | 2 +- templates/stream.html | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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