Skip to content

Commit

Permalink
Updates page title rendering for improved SEO
Browse files Browse the repository at this point in the history
  • Loading branch information
luciddreamz committed Feb 10, 2016
1 parent e849738 commit 4f1d5fb
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 15 deletions.
6 changes: 3 additions & 3 deletions _templates/page.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<meta charset="utf-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<title><%= distro %> <%= version %> | <%= [group_title, subgroup_title, topic_title].compact.join(' | ') %></title>
<title><%= [topic_title, subgroup_title].compact.join(' - ') %> | <%= group_title %> | <%= distro %> <%= version %></title>
<link href="https://assets.openshift.net/content/subdomain.css" rel="stylesheet" type="text/css">
<link href="<%= File.join(css_path, 'docs.css') %>" rel="stylesheet" />
<link href="https://assets.openshift.net/content/subdomain/touch-icon-precomposed.png" rel="apple-touch-icon-precomposed" type="image/png">
Expand Down Expand Up @@ -41,10 +41,10 @@
<li class="sitename">
<a href="<%= site_home_path %>"><%= site_name %></a>
</li>
<li class="hidden-xs active">
<li class="hidden-xs">
<%= breadcrumb_root %>
</li>
<li class="hidden-xs active">
<li class="hidden-xs">
<%= breadcrumb_group %>
</li>
<%= breadcrumb_subgroup_block %>
Expand Down
6 changes: 3 additions & 3 deletions index-commercial.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="MCaLEYfZB8HfZSTyMQYZyBeRMXGoKt46uvrwEp-KN3M" />
<title>Home | OpenShift Documentation</title>
<link href="https:/docs.openshift.com/" rel="canonical" />
<meta name="google-site-verification" content="MCaLEYfZB8HfZSTyMQYZyBeRMXGoKt46uvrwEp-KN3M">
<title>Home | OpenShift by Red Hat Documentation</title>
<link href="https:/docs.openshift.com/" rel="canonical">
<link href="https://assets.openshift.net/content/subdomain/touch-icon-precomposed.png" rel="apple-touch-icon-precomposed" type="image/png">
<link href="https://assets.openshift.net/content/subdomain/favicon32x32.png" rel="shortcut icon" type="image/png">
<!--[if IE]><link rel="shortcut icon" href="https://assets.openshift.net/content/subdomain/favicon.ico"><![endif]-->
Expand Down
11 changes: 2 additions & 9 deletions index-community.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="google-site-verification" content="9jyGvNki3NSELTYJ7t_XbF-YQZ8jjfm7LqQQGNq4SSg" />
<meta name="google-site-verification" content="9jyGvNki3NSELTYJ7t_XbF-YQZ8jjfm7LqQQGNq4SSg">
<title>Home | OpenShift Origin Documentation</title>
<link href="https:/docs.openshift.com/" rel="canonical" />
<link href="https:/docs.openshift.org/" rel="canonical">
<link href="https://assets.openshift.net/content/subdomain/touch-icon-precomposed.png" rel="apple-touch-icon-precomposed" type="image/png">
<link href="https://assets.openshift.net/content/subdomain/favicon32x32.png" rel="shortcut icon" type="image/png">
<!--[if IE]><link rel="shortcut icon" href="https://assets.openshift.net/content/subdomain/favicon.ico"><![endif]-->
Expand All @@ -24,13 +24,6 @@
<!-- IE8 requires jQuery and Bootstrap JS to load in head to prevent rendering bugs -->
<!-- IE8 requires jQuery v1.x -->
<script src="https://assets.openshift.net/content/subdomain.js"></script>
<script src='https://www.google.com/jsapi' type='text/javascript'></script>
<script type='text/javascript'>
google.load('search', '1');
google.setOnLoadCallback(function() {
google.search.CustomSearchControl.attachAutoCompletionWithOptions('013769182564158614814:lt-zcblgpx4', document.getElementById('cse-search-input'), 'cse-search-form', {'maxCompletions' : 5});
}, true);
</script>
<script async src="//www.google-analytics.com/analytics.js" type="text/javascript"></script>
<script>
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
Expand Down

0 comments on commit 4f1d5fb

Please sign in to comment.