Add default metadata to watch page

This commit is contained in:
Omar Roth 2018-07-31 11:33:25 -05:00
parent 9b8a884ff8
commit 4acc09f30d
1 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,7 @@
<% content_for "header" do %> <% content_for "header" do %>
<meta name="thumbnail" content="<%= thumbnail %>"> <meta name="thumbnail" content="<%= thumbnail %>">
<meta name="description" content="<%= description %>">
<meta name="keywords" content="<%= video.info["keywords"] %>">
<meta property="og:site_name" content="Invidious"> <meta property="og:site_name" content="Invidious">
<meta property="og:url" content="https://invidio.us/watch?v=<%= video.id %>"> <meta property="og:url" content="https://invidio.us/watch?v=<%= video.id %>">
<meta property="og:title" content="<%= video.title %>"> <meta property="og:title" content="<%= video.title %>">