Merge branch '12100-cwltool-update' closes #12100
[arvados.git] / apps / workbench / app / views / layouts / application.html.erb
index 66d495006f413f3fe18b3703d4cec7c32e205cff..71b1cd15984e6b45151e8ab7ec8ad2d8a60f32bb 100644 (file)
@@ -1,3 +1,7 @@
+<%# Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 %>
+
 <!DOCTYPE html>
 <html ng-app="Workbench">
 <head>
   <% end %>
   <meta name="robots" content="NOINDEX, NOFOLLOW">
 
-  <%# Add open graph meta tags %>
+  <%# Feature #5645: Add open graph meta tags to generate this page's
+      social graph that search engines can use. http://ogp.me/ %>
   <meta property="og:type" content="article" />
   <meta property="og:url" content="<%= request.url %>" />
   <meta property="og:site_name" content="<%= Rails.configuration.site_name %>" />
   <% if @object %>
-    <% if (@object.respond_to?(:name) rescue nil) and @object.name.present? %>
+    <% if @object.respond_to?(:name) and @object.name.present? %>
       <meta property="og:title" content="<%= @object.name%>" />
     <% end %>
     <% if (@object.respond_to?(:description) rescue nil) and @object.description.present? %>