@ -65,7 +65,7 @@ class app.views.EntryPage extends app.View
app.views["#{docType[0].toUpperCase()}#{docType[1..]}Page"] or app.views.BasePage
getTitle: ->
@entry.doc.name + if @entry.isIndex() then '' else "/#{@entry.name}"
@entry.doc.name + if @entry.isIndex() then ' documentation' else "/#{@entry.name}"
beforeRoute: =>
@abort()
@ -14,7 +14,6 @@ class app.views.Document extends app.View
@addSubview @content = new app.views.Content
@addSubview @path = new app.views.Path unless app.isSingleDoc() or app.isMobile()
@setTitle()
@activate()
return
@ -28,7 +27,7 @@ class app.views.Document extends app.View
setTitle: (title) ->
@el.title = if title then "DevDocs / #{title}" else 'DevDocs API Documentation'
@el.title = if title then "DevDocs - #{title}" else 'DevDocs API Documentation'
onHelp: ->
app.router.show '/help#shortcuts'
@ -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 name="format-detection" content="telephone=no">
<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']} documentation" 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">