Tweak seo titles and descriptions

pull/90/head
Thibaut 11 years ago
parent b8c6547e89
commit 98b988d588

@ -12,7 +12,7 @@
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<title>DevDocs &mdash; Open-source API Documentation Browser</title>
<title>DevDocs: Open-source / Offline API Documentation Browser</title>
<link rel="canonical" href="http://devdocs.io">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="DevDocs Search">
<link rel="icon" type="image/x-icon" href="http://maxcdn.devdocs.io/favicon.ico">

@ -3,9 +3,9 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,minimal-ui">
<% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
<% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> reference documentation with fast, fuzzy search, keyboard shortcuts, mobile version, offline mode, and more."><% else %><meta name="robots" content="noindex"><% end %>
<meta name="format-detection" content="telephone=no">
<title>DevDocs<%= " &mdash; #{@doc['name']} API Documentation" if doc_index_page? %></title>
<title>DevDocs<%= ": Downloadable #{@doc['name']} API Documentation" if doc_index_page? %></title>
<link rel="icon" type="image/x-icon" href="http://maxcdn.devdocs.io/favicon.ico">
<link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Search DevDocs">
<%= stylesheet_tag 'application' %>

Loading…
Cancel
Save