X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/29b0dccdf90d3cf1e7472f0653cc9a38cbbadc26..3fe48e9f9ce4f29ececb07fa8934565992a8d52f:/apps/workbench/app/views/layouts/application.html.erb diff --git a/apps/workbench/app/views/layouts/application.html.erb b/apps/workbench/app/views/layouts/application.html.erb index cdc47c1716..71b1cd1598 100644 --- a/apps/workbench/app/views/layouts/application.html.erb +++ b/apps/workbench/app/views/layouts/application.html.erb @@ -1,3 +1,7 @@ +<%# Copyright (C) The Arvados Authors. All rights reserved. + +SPDX-License-Identifier: AGPL-3.0 %> + @@ -18,6 +22,22 @@ <% end %> + + <%# Feature #5645: Add open graph meta tags to generate this page's + social graph that search engines can use. http://ogp.me/ %> + + + + <% if @object %> + <% if @object.respond_to?(:name) and @object.name.present? %> + + <% end %> + <% if (@object.respond_to?(:description) rescue nil) and @object.description.present? %> + + <% end %> + <% end %> + <%# Done adding open graph meta tags %> + <%= stylesheet_link_tag "application", :media => "all" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> @@ -37,9 +57,9 @@ @media (max-width: 979px) { body { padding-top: 0; } } @media (max-width: 767px) { - .breadcrumbs { - display: none; - } + .breadcrumbs { + padding-top: 0; + } }