{"action":"created","issue":{"url":"https://api.github.com/repos/s9y/Serendipity/issues/310","labels_url":"https://api.github.com/repos/s9y/Serendipity/issues/310/labels{/name}","comments_url":"https://api.github.com/repos/s9y/Serendipity/issues/310/comments","events_url":"https://api.github.com/repos/s9y/Serendipity/issues/310/events","html_url":"https://github.com/s9y/Serendipity/issues/310","id":60250158,"number":310,"title":"Canonical links in frontend themes","user":{"login":"yellowled","id":326223,"avatar_url":"https://avatars.githubusercontent.com/u/326223?v=3","gravatar_id":"","url":"https://api.github.com/users/yellowled","html_url":"https://github.com/yellowled","followers_url":"https://api.github.com/users/yellowled/followers","following_url":"https://api.github.com/users/yellowled/following{/other_user}","gists_url":"https://api.github.com/users/yellowled/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowled/subscriptions","organizations_url":"https://api.github.com/users/yellowled/orgs","repos_url":"https://api.github.com/users/yellowled/repos","events_url":"https://api.github.com/users/yellowled/events{/privacy}","received_events_url":"https://api.github.com/users/yellowled/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/s9y/Serendipity/labels/enhancements","name":"enhancements","color":"f7c6c7"},{"url":"https://api.github.com/repos/s9y/Serendipity/labels/templates","name":"templates","color":"5319e7"}],"state":"open","locked":false,"assignee":{"login":"yellowled","id":326223,"avatar_url":"https://avatars.githubusercontent.com/u/326223?v=3","gravatar_id":"","url":"https://api.github.com/users/yellowled","html_url":"https://github.com/yellowled","followers_url":"https://api.github.com/users/yellowled/followers","following_url":"https://api.github.com/users/yellowled/following{/other_user}","gists_url":"https://api.github.com/users/yellowled/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowled/subscriptions","organizations_url":"https://api.github.com/users/yellowled/orgs","repos_url":"https://api.github.com/users/yellowled/repos","events_url":"https://api.github.com/users/yellowled/events{/privacy}","received_events_url":"https://api.github.com/users/yellowled/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/s9y/Serendipity/milestones/5","html_url":"https://github.com/s9y/Serendipity/milestones/2.0.x","labels_url":"https://api.github.com/repos/s9y/Serendipity/milestones/5/labels","id":947469,"number":5,"title":"2.0.x","description":"The next patch release for the 2.x series","creator":{"login":"yellowled","id":326223,"avatar_url":"https://avatars.githubusercontent.com/u/326223?v=3","gravatar_id":"","url":"https://api.github.com/users/yellowled","html_url":"https://github.com/yellowled","followers_url":"https://api.github.com/users/yellowled/followers","following_url":"https://api.github.com/users/yellowled/following{/other_user}","gists_url":"https://api.github.com/users/yellowled/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowled/subscriptions","organizations_url":"https://api.github.com/users/yellowled/orgs","repos_url":"https://api.github.com/users/yellowled/repos","events_url":"https://api.github.com/users/yellowled/events{/privacy}","received_events_url":"https://api.github.com/users/yellowled/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":40,"state":"open","created_at":"2015-01-22T20:18:02Z","updated_at":"2015-03-13T13:02:20Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2015-03-08T10:06:57Z","updated_at":"2015-03-13T14:04:19Z","closed_at":null,"body":"For all core and additional themes that have an `index.tpl`.\r\n```\r\n{if ($view == \"entry\" || $view == 'start' || $staticpage_pagetitle != '')}\r\n   <meta name=\"robots\" content=\"index,follow\">\r\n{else}\r\n   <meta name=\"robots\" content=\"noindex,follow\">\r\n{/if}\r\n{if ($view == \"entry\")}\r\n   <link rel=\"canonical\" href=\"{$entry.rdf_ident}\">\r\n{/if}\r\n{if ($view == \"start\")}\r\n   <link rel=\"canonical\" href=\"{$serendipityBaseURL}\">\r\n{/if}\r\n```"},"comment":{"url":"https://api.github.com/repos/s9y/Serendipity/issues/comments/78985205","html_url":"https://github.com/s9y/Serendipity/issues/310#issuecomment-78985205","issue_url":"https://api.github.com/repos/s9y/Serendipity/issues/310","id":78985205,"user":{"login":"yellowled","id":326223,"avatar_url":"https://avatars.githubusercontent.com/u/326223?v=3","gravatar_id":"","url":"https://api.github.com/users/yellowled","html_url":"https://github.com/yellowled","followers_url":"https://api.github.com/users/yellowled/followers","following_url":"https://api.github.com/users/yellowled/following{/other_user}","gists_url":"https://api.github.com/users/yellowled/gists{/gist_id}","starred_url":"https://api.github.com/users/yellowled/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yellowled/subscriptions","organizations_url":"https://api.github.com/users/yellowled/orgs","repos_url":"https://api.github.com/users/yellowled/repos","events_url":"https://api.github.com/users/yellowled/events{/privacy}","received_events_url":"https://api.github.com/users/yellowled/received_events","type":"User","site_admin":false},"created_at":"2015-03-13T14:04:19Z","updated_at":"2015-03-13T14:04:19Z","body":"> If we did that from a global frontend hook, it couldn't be changed/override in a template file, if template authors want it differently.\r\n\r\nRight. Hm. Don't get me wrong, I don't mind editing all `index.tpl` files, I just thought a central place would be better in case we ever have to change this again."}}