History

SEO and social sharing tweaks

Thibaut Courouble committed 9 years ago

Commit 6aaba671 parent 8f16c6b5 files · +3 −3Browse files

Unified · Split

5 files
  1. public/images/icon-128.png +0 −0
  2. public/images/icon-320.png +0 −0
  3. public/images/icon-75.png +0 −0
  4. views/index.erb +3 −3
  5. views/other.erb +3 −3
public/images/icon-128.png+0−0

Binary file not shown.

public/images/icon-320.png+0−0

Binary file not shown.

public/images/icon-75.png+0−0

Binary file not shown.

views/index.erb+3−3
@@ -3,13 +3,13 @@ · 2 unmodified lines
33 <head>
44 <meta charset="utf-8">
55 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no">
6− <meta name="description" content="DevDocs is a fast, offline, and free documentation browser for developers. Search 100+ docs in one web app: HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++…">
6+ <meta name="description" content="Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app: HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++…">
77 <meta property="application-name" content="DevDocs">
88 <meta property="og:title" content="DevDocs">
9− <meta property="og:description" content="DevDocs is a free API documentation browser that combines 100+ docs in a single UI with offline mode, instant search, keyboard navigation, and more.">
9+ <meta property="og:description" content="Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app including HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++, and many more.">
1010 <meta property="og:type" content="website">
1111 <meta property="og:url" content="<%= canonical_origin %>">
12− <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-128.png">
12+ <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-320.png">
1313 <meta name="apple-mobile-web-app-title" content="DevDocs">
1414 <meta name="apple-mobile-web-app-capable" content="yes">
1515 <meta name="apple-mobile-web-app-status-bar-style" content="black">
views/other.erb+3−3
@@ -3,10 +3,10 @@ · 2 unmodified lines
33 <head>
44 <meta charset="utf-8">
55 <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
6− <% if doc_index_page? %><meta name="description" content="<%= @doc['full_name'] %> API documentation with instant search, offline mode, keyboard navigation, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
6+ <% if doc_index_page? %><meta name="description" content="<%= @doc['name'] %> <%= @doc['release'] %> API documentation with instant search, offline support, keyboard shortcuts, mobile version, and more."><% else %><meta name="robots" content="noindex"><% end %>
77 <meta name="format-detection" content="telephone=no">
8− <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-128.png">
9− <title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation (fast, offline)" if doc_index_page? %></title>
8+ <meta property="og:image" content="<%= App.cdn_origin %>/images/icon-320.png">
9+ <title>DevDocs<%= " &mdash; #{@doc['full_name']} documentation" if doc_index_page? %></title>
1010 <link rel="canonical" href="<%= canonical_origin %><%= request.path %>">
1111 <link rel="manifest" href="/manifest.json">
1212 <link rel="icon" type="image/x-icon" href="<%= App.cdn_origin %>/favicon.ico">