summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-01-21 11:07:02 -0600
committerOmar Roth <omarroth@hotmail.com>2018-01-21 11:07:02 -0600
commite192b55ffa77c638292b59141c688621d6e2eab8 (patch)
tree0e9bac510357e60bcecd2fc1ae718da56e52ef8d
parent3c29cc71bb3cfc910e59b12687a11e0d9dc29a01 (diff)
downloadinvidious-e192b55ffa77c638292b59141c688621d6e2eab8.tar.gz
invidious-e192b55ffa77c638292b59141c688621d6e2eab8.tar.bz2
invidious-e192b55ffa77c638292b59141c688621d6e2eab8.zip
Allow for views to supply tags to header
-rw-r--r--src/views/error.ecr3
-rw-r--r--src/views/index.ecr1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/views/error.ecr b/src/views/error.ecr
index 8304695d..a0fe014a 100644
--- a/src/views/error.ecr
+++ b/src/views/error.ecr
@@ -1,4 +1,5 @@
<% content_for "header" do %>
-<%= "Error - " %>
+<title><%= "Error" %> - Invidious</title>
<% end %>
+
<%= error_message %> \ No newline at end of file
diff --git a/src/views/index.ecr b/src/views/index.ecr
index 483a0c51..885c8d5c 100644
--- a/src/views/index.ecr
+++ b/src/views/index.ecr
@@ -1,2 +1,3 @@
<% content_for "header" do %>
+<title>Invidious</title>
<% end %> \ No newline at end of file