diff options
Diffstat (limited to 'layouts/head.html')
-rw-r--r-- | layouts/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/head.html b/layouts/head.html index f17e7bda4..dda1c2973 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -1,6 +1,6 @@ <head> <meta charset="utf-8"> - <title><%= @item.attributes.include?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %></title> + <title><%= @item.key?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %></title> <meta name="description" content="Documentation for GitLab Community Edition, GitLab Enterprise Edition, Omnibus GitLab, and GitLab Runner."> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>"> |