From 3d471599b97179904072bbf718abbf27cb8ae833 Mon Sep 17 00:00:00 2001 From: Thibaut Date: Sun, 24 May 2015 10:23:51 -0400 Subject: [PATCH] Tweak headings for Google --- assets/javascripts/views/layout/document.coffee | 2 +- assets/stylesheets/components/_header.scss | 4 +++- views/app.erb | 2 +- views/index.erb | 2 +- views/other.erb | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/assets/javascripts/views/layout/document.coffee b/assets/javascripts/views/layout/document.coffee index d4e95c8e..a4b93328 100644 --- a/assets/javascripts/views/layout/document.coffee +++ b/assets/javascripts/views/layout/document.coffee @@ -28,7 +28,7 @@ class app.views.Document extends app.View return setTitle: (title) -> - @el.title = if title then "DevDocs/#{title}" else 'DevDocs' + @el.title = if title then "DevDocs / #{title}" else 'DevDocs API Documentation' onHelp: -> app.router.show '/help#shortcuts' diff --git a/assets/stylesheets/components/_header.scss b/assets/stylesheets/components/_header.scss index 4c96aae6..8aca9dd4 100644 --- a/assets/stylesheets/components/_header.scss +++ b/assets/stylesheets/components/_header.scss @@ -72,10 +72,12 @@ margin: 0; line-height: inherit; font-size: inherit; + cursor: default; > ._nav-link { float: none; - padding: 0 1rem; + margin-left: .75rem; + padding: 0 .25rem; } } diff --git a/views/app.erb b/views/app.erb index 56e265e3..ca968c06 100644 --- a/views/app.erb +++ b/views/app.erb @@ -8,7 +8,7 @@

- DevDocs + DevDocs<%= "/ #{@doc['name']}" if @doc %>