summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorJulian Hurst <julian.hurst92@gmail.com>2020-10-15 17:48:20 +0200
committerJulian Hurst <julian.hurst92@gmail.com>2020-10-15 17:48:20 +0200
commit324609cf70e2e8cfcf74b7d22ddd45407eb103dd (patch)
treebfe62f2f2402efbbdf6d21f1bac9d07e442f9d11 /templates
parent8539126144ae6d94a24525f125e54b372b22f821 (diff)
downloadgrimtube-324609cf70e2e8cfcf74b7d22ddd45407eb103dd.tar.gz
Add error template and favicon support
Diffstat (limited to 'templates')
-rw-r--r--templates/error.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/error.html b/templates/error.html
new file mode 100644
index 0000000..202e53a
--- /dev/null
+++ b/templates/error.html
@@ -0,0 +1,7 @@
+{{define "title"}}Index{{end}}
+{{define "content"}}
+ <div id="error">
+ <p>Error: {{.Error}}</p>
+ <p>Please try refreshing</p>
+ </div>
+{{end}}