Add default metadata to watch page

pull/55/head
Omar Roth 2018-07-31 11:33:25 -05:00
rodzic 9b8a884ff8
commit 4acc09f30d
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -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 %>">