Allow for views to supply tags to header

This commit is contained in:
Omar Roth 2018-01-21 11:07:02 -06:00
parent 3c29cc71bb
commit e192b55ffa
2 changed files with 3 additions and 1 deletions

View file

@ -1,4 +1,5 @@
<% content_for "header" do %> <% content_for "header" do %>
<%= "Error - " %> <title><%= "Error" %> - Invidious</title>
<% end %> <% end %>
<%= error_message %> <%= error_message %>

View file

@ -1,2 +1,3 @@
<% content_for "header" do %> <% content_for "header" do %>
<title>Invidious</title>
<% end %> <% end %>