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

View file

@ -1,5 +1,7 @@
<% content_for "header" do %>
<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:url" content="https://invidio.us/watch?v=<%= video.id %>">
<meta property="og:title" content="<%= video.title %>">