Update keywords and view_count

This commit is contained in:
Omar Roth
2018-11-02 08:09:28 -05:00
parent 19516eaa25
commit c92f6e44e7
4 changed files with 14 additions and 11 deletions

View File

@@ -106,4 +106,4 @@ function unsubscribe() {
}
}
}
</script>
</script>

View File

@@ -1,7 +1,7 @@
<% content_for "header" do %>
<meta name="thumbnail" content="<%= thumbnail %>">
<meta name="description" content="<%= description %>">
<meta name="keywords" content="<%= video.info["keywords"] %>">
<meta name="keywords" content="<%= video.keywords.join(",") %>">
<meta property="og:site_name" content="Invidious">
<meta property="og:url" content="<%= host_url %>/watch?v=<%= video.id %>">
<meta property="og:title" content="<%= HTML.escape(video.title) %>">
@@ -451,4 +451,4 @@ function get_youtube_replies(target, load_more) {
get_youtube_comments();
<% end %>
</script>
</script>