@ -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'
@ -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;
}
@ -8,7 +8,7 @@
<div class="_search-tag"></div>
</form>
<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>
<nav class="_nav">
<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="format-detection" content="telephone=no">
<meta name="robots" content="noodp">
<title>DevDocs</title>
<title>DevDocs API Documentation</title>
<link rel="canonical" href="http://devdocs.io">
<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">
@ -6,7 +6,7 @@
<% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> API documentation with instant search, offline mode, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
<meta property="og:image" content="http://cdn.devdocs.io/images/icon-128.png">
<title>DevDocs<%= "/#{@doc['name']}" if doc_index_page? %></title>
<title>DevDocs<%= " / #{@doc['name']}" if doc_index_page? %></title>
<link rel="canonical" href="http://devdocs.io<%= request.path %>">
<link rel="icon" type="image/x-icon" href="//cdn.devdocs.io/favicon.ico">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">