From 1aff350e02d5dc2acd2691e26460447983684104 Mon Sep 17 00:00:00 2001 From: BroodjeAap Date: Wed, 21 Dec 2022 21:30:21 +0000 Subject: [PATCH] added titles --- templates/500.html | 4 ++++ templates/cache/view.html | 4 ++++ templates/index.html | 4 ++++ templates/watch/edit.html | 4 ++++ templates/watch/view.html | 4 ++++ 5 files changed, 20 insertions(+) diff --git a/templates/500.html b/templates/500.html index fb8268e..17ea210 100644 --- a/templates/500.html +++ b/templates/500.html @@ -1,3 +1,7 @@ +{{define "title"}} +GoWatch Error +{{end}} + {{define "content"}}

Something went wrong, try again.

{{end}} \ No newline at end of file diff --git a/templates/cache/view.html b/templates/cache/view.html index 421cbd9..a05efac 100644 --- a/templates/cache/view.html +++ b/templates/cache/view.html @@ -1,3 +1,7 @@ +{{define "title"}} +GoWatch URL Cache +{{end}} + {{define "content"}} {{ range $url, $content := . }}
diff --git a/templates/index.html b/templates/index.html index ff5f1f9..67aa179 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,3 +1,7 @@ +{{define "title"}} +GoWatch +{{end}} + {{define "content"}} diff --git a/templates/watch/edit.html b/templates/watch/edit.html index be9d364..f22048e 100644 --- a/templates/watch/edit.html +++ b/templates/watch/edit.html @@ -11,6 +11,10 @@ {{ end }} +{{define "title"}} +GoWatch Edit {{ .Watch.Name }} +{{end}} + {{ define "left" }}
diff --git a/templates/watch/view.html b/templates/watch/view.html index 5e3d45c..1ed6193 100644 --- a/templates/watch/view.html +++ b/templates/watch/view.html @@ -1,3 +1,7 @@ +{{define "title"}} +GoWatch {{ .Watch.Name }} +{{end}} + {{define "content"}} {{ if .error }} Could not find entry