Skip to content

Commit 6aaba67

Browse files
committed
SEO and social sharing tweaks
1 parent 8f16c6b commit 6aaba67

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

public/images/icon-128.png

-1.45 KB
Binary file not shown.

public/images/icon-320.png

3.97 KB
Loading

public/images/icon-75.png

-799 Bytes
Binary file not shown.

views/index.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
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">

0 commit comments

Comments
 (0)