Tweak headings for Google

pull/220/head
Thibaut 10 years ago
parent 859bc1fa85
commit 3d471599b9

@ -28,7 +28,7 @@ class app.views.Document extends app.View
return return
setTitle: (title) -> setTitle: (title) ->
@el.title = if title then "DevDocs/#{title}" else 'DevDocs' @el.title = if title then "DevDocs / #{title}" else 'DevDocs API Documentation'
onHelp: -> onHelp: ->
app.router.show '/help#shortcuts' app.router.show '/help#shortcuts'

@ -72,10 +72,12 @@
margin: 0; margin: 0;
line-height: inherit; line-height: inherit;
font-size: inherit; font-size: inherit;
cursor: default;
> ._nav-link { > ._nav-link {
float: none; float: none;
padding: 0 1rem; margin-left: .75rem;
padding: 0 .25rem;
} }
} }

@ -8,7 +8,7 @@
<div class="_search-tag"></div> <div class="_search-tag"></div>
</form> </form>
<h1 class="_logo"> <h1 class="_logo">
<a href="/" class="_nav-link" title="Offline API Documentation Browser">DevDocs</a> <a href="/" class="_nav-link" title="Offline API Documentation Browser">DevDocs</a><%= "/ #{@doc['name']}" if @doc %>
</h1> </h1>
<nav class="_nav"> <nav class="_nav">
<a href="/offline" class="_nav-link">Offline</a> <a href="/offline" class="_nav-link">Offline</a>

@ -13,7 +13,7 @@
<meta name="apple-mobile-web-app-status-bar-style" content="black"> <meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no">
<meta name="robots" content="noodp"> <meta name="robots" content="noodp">
<title>DevDocs</title> <title>DevDocs API Documentation</title>
<link rel="canonical" href="http://devdocs.io"> <link rel="canonical" href="http://devdocs.io">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search"> <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
<link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml"> <link rel="alternate" href="http://devdocs.io/feed" title="DevDocs" type="application/atom+xml">

Loading…
Cancel
Save