{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11953","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11953/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11953/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11953/events","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/11953","id":97803543,"number":11953,"title":"The Google search results on kubernetes.io are all returned with the site title \"Kubernetes by Google\"","user":{"login":"RichieEscarez","id":11762685,"avatar_url":"https://avatars.githubusercontent.com/u/11762685?v=3","gravatar_id":"","url":"https://api.github.com/users/RichieEscarez","html_url":"https://github.com/RichieEscarez","followers_url":"https://api.github.com/users/RichieEscarez/followers","following_url":"https://api.github.com/users/RichieEscarez/following{/other_user}","gists_url":"https://api.github.com/users/RichieEscarez/gists{/gist_id}","starred_url":"https://api.github.com/users/RichieEscarez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichieEscarez/subscriptions","organizations_url":"https://api.github.com/users/RichieEscarez/orgs","repos_url":"https://api.github.com/users/RichieEscarez/repos","events_url":"https://api.github.com/users/RichieEscarez/events{/privacy}","received_events_url":"https://api.github.com/users/RichieEscarez/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/labels/kind/documentation","name":"kind/documentation","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones/14","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/milestones/v1.1-candidate","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/milestones/14/labels","id":1220918,"number":14,"title":"v1.1-candidate","description":"Issues for consideration for release 1.1.","creator":{"login":"bgrant0607","id":7725777,"avatar_url":"https://avatars.githubusercontent.com/u/7725777?v=3","gravatar_id":"","url":"https://api.github.com/users/bgrant0607","html_url":"https://github.com/bgrant0607","followers_url":"https://api.github.com/users/bgrant0607/followers","following_url":"https://api.github.com/users/bgrant0607/following{/other_user}","gists_url":"https://api.github.com/users/bgrant0607/gists{/gist_id}","starred_url":"https://api.github.com/users/bgrant0607/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bgrant0607/subscriptions","organizations_url":"https://api.github.com/users/bgrant0607/orgs","repos_url":"https://api.github.com/users/bgrant0607/repos","events_url":"https://api.github.com/users/bgrant0607/events{/privacy}","received_events_url":"https://api.github.com/users/bgrant0607/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":0,"state":"open","created_at":"2015-07-22T19:17:41Z","updated_at":"2015-07-28T21:14:15Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-07-28T21:14:15Z","updated_at":"2015-07-30T06:04:41Z","closed_at":null,"body":"Each page that we host on Kubernetes.io should include the 'title' tags and contain individual page titles, otherwise by default the site title (Kubernetes by Google) is shown as the title of each page that is returned in the \"search results\".\r\n![image](https://cloud.githubusercontent.com/assets/11762685/8943994/c91d016a-3532-11e5-8ab0-71eecba796a4.png)\r\n\r\nGoogle CSE will slowly regenerate titles as more searches occur (details here: https://support.google.com/webmasters/answer/35624?hl=en), so eventually, titles in search results will change/be optimized, but we can avoid the delay and immediately improve results by including the \"title: xyz\" front matter.\r\n\r\nTo avoid all/most of the search results from showing the site title, we must automate and include the following into the front matter. We currently add the ```layout: docwithnav``` frontmatter and need to add to that the ```title: xyx``` line:\r\n\r\nfor example:\r\n```\r\n---\r\nlayout: docwithnav\r\ntitle: Specific Page Title Systematically Inserted Here\r\n---\r\n```\r\n\r\nAs part of the markdown file (*.md) processing before copying files from master into gh-pages, can an additional processing step be created and added so that the ```title: xyx``` line is added to the front matter, where \"xyz\" is the first \"h1\" tag (or #, *, or any other top level markdown header tag) in the markdown file?\r\n\r\nExample:\r\n\r\n```\r\n---\r\nlayout: docwithnav\r\ntitle: What is Kubernetes?\r\n---\r\n<!-- BEGIN MUNGE: UNVERSIONED_WARNING -->\r\n\r\n\r\n<!-- END MUNGE: UNVERSIONED_WARNING -->\r\n\r\n# What is Kubernetes? \r\n\r\nKubernetes is an open-source platform for automating deployment, scaling, and operations of application containers across clusters of hosts. \r\n.......\r\n```"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/comments/126196064","html_url":"https://github.com/GoogleCloudPlatform/kubernetes/issues/11953#issuecomment-126196064","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/kubernetes/issues/11953","id":126196064,"user":{"login":"thockin","id":5595220,"avatar_url":"https://avatars.githubusercontent.com/u/5595220?v=3","gravatar_id":"","url":"https://api.github.com/users/thockin","html_url":"https://github.com/thockin","followers_url":"https://api.github.com/users/thockin/followers","following_url":"https://api.github.com/users/thockin/following{/other_user}","gists_url":"https://api.github.com/users/thockin/gists{/gist_id}","starred_url":"https://api.github.com/users/thockin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thockin/subscriptions","organizations_url":"https://api.github.com/users/thockin/orgs","repos_url":"https://api.github.com/users/thockin/repos","events_url":"https://api.github.com/users/thockin/events{/privacy}","received_events_url":"https://api.github.com/users/thockin/received_events","type":"User","site_admin":false},"created_at":"2015-07-30T06:04:40Z","updated_at":"2015-07-30T06:04:40Z","body":"@krousey: Do you have time to take this one?\n\nOn Tue, Jul 28, 2015 at 2:21 PM, RichieEscarez <notifications@github.com>\nwrote:\n\n> @krousey <https://github.com/krousey>\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/GoogleCloudPlatform/kubernetes/issues/11953#issuecomment-125757195>\n> .\n>\n"}}