diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-10-07 07:58:18 +0300 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-10-07 07:58:18 +0300 |
commit | 3c29f001846eb5a4c2db21d34265dd4d5a634906 (patch) | |
tree | 85512d2e5cbe670d24cd2f7663093c9c1267a73b /layouts | |
parent | b1af70d010e6e9da721b09ea3d7cffc935383dd6 (diff) |
Improve styles, make more links work properly.
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/default.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/default.html b/layouts/default.html index e2c91b46..1fb65810 100644 --- a/layouts/default.html +++ b/layouts/default.html @@ -2,7 +2,7 @@ <html lang="en"> <head> <meta charset="utf-8"> - <title><%= @item[:title] %> - GitLab Documentation</title> + <title><%= @item.attributes.include?(:title) ? "#{item[:title]} - GitLab Documentation" : "GitLab Documentation" %></title> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/stylesheet.*'].path %>"> <link rel="stylesheet" href="<%= @items['/assets/stylesheets/highlight.*'].path %>"> <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700,400italic' rel='stylesheet' type='text/css'> |