{"action":"created","comment":{"url":"https://api.github.com/repos/gohugoio/hugo/pulls/comments/220760688","pull_request_review_id":159244109,"id":220760688,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMDc2MDY4OA==","diff_hunk":"@@ -86,11 +86,12 @@ func doTestSitemapOutput(t *testing.T, internal bool) {\n \n func TestParseSitemap(t *testing.T) {\n \tt.Parallel()\n-\texpected := Sitemap{Priority: 3.0, Filename: \"doo.xml\", ChangeFreq: \"3\"}\n+\texpected := Sitemap{ChangeFreq: \"3\", Priority: 3.0, Filename: \"doo.xml\", Exclude: true}","path":"hugolib/sitemap_test.go","position":14,"original_position":14,"commit_id":"81242440aee5e674d3e3cba851fcf710c705393c","original_commit_id":"81242440aee5e674d3e3cba851fcf710c705393c","user":{"login":"felicianotech","id":6017470,"node_id":"MDQ6VXNlcjYwMTc0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6017470?v=4","gravatar_id":"","url":"https://api.github.com/users/felicianotech","html_url":"https://github.com/felicianotech","followers_url":"https://api.github.com/users/felicianotech/followers","following_url":"https://api.github.com/users/felicianotech/following{/other_user}","gists_url":"https://api.github.com/users/felicianotech/gists{/gist_id}","starred_url":"https://api.github.com/users/felicianotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicianotech/subscriptions","organizations_url":"https://api.github.com/users/felicianotech/orgs","repos_url":"https://api.github.com/users/felicianotech/repos","events_url":"https://api.github.com/users/felicianotech/events{/privacy}","received_events_url":"https://api.github.com/users/felicianotech/received_events","type":"User","site_admin":false},"body":"Exclude was added here but I also changed the order of the properties to match the order they appear below and in Docs.","created_at":"2018-09-27T00:11:47Z","updated_at":"2018-09-27T00:12:08Z","html_url":"https://github.com/gohugoio/hugo/pull/5259#discussion_r220760688","pull_request_url":"https://api.github.com/repos/gohugoio/hugo/pulls/5259","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/comments/220760688"},"html":{"href":"https://github.com/gohugoio/hugo/pull/5259#discussion_r220760688"},"pull_request":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/5259"}}},"pull_request":{"url":"https://api.github.com/repos/gohugoio/hugo/pulls/5259","id":218489125,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE4NDg5MTI1","html_url":"https://github.com/gohugoio/hugo/pull/5259","diff_url":"https://github.com/gohugoio/hugo/pull/5259.diff","patch_url":"https://github.com/gohugoio/hugo/pull/5259.patch","issue_url":"https://api.github.com/repos/gohugoio/hugo/issues/5259","number":5259,"state":"open","locked":false,"title":"Enable page exclusion from sitemap.xml","user":{"login":"felicianotech","id":6017470,"node_id":"MDQ6VXNlcjYwMTc0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6017470?v=4","gravatar_id":"","url":"https://api.github.com/users/felicianotech","html_url":"https://github.com/felicianotech","followers_url":"https://api.github.com/users/felicianotech/followers","following_url":"https://api.github.com/users/felicianotech/following{/other_user}","gists_url":"https://api.github.com/users/felicianotech/gists{/gist_id}","starred_url":"https://api.github.com/users/felicianotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicianotech/subscriptions","organizations_url":"https://api.github.com/users/felicianotech/orgs","repos_url":"https://api.github.com/users/felicianotech/repos","events_url":"https://api.github.com/users/felicianotech/events{/privacy}","received_events_url":"https://api.github.com/users/felicianotech/received_events","type":"User","site_admin":false},"body":"This PR adds a new key to .Sitemap called `Exclude`. `Exclude` is a\r\nboolean that is set to false by default meaning all available pages are\r\nincluded. This is the behavior currently. When `Exclude` is set to true,\r\nit will not appear in any `sitemap.xml` files that Hugo may generate.\r\n\r\n`Exclude` can be set to true in the Hugo config turning `sitemap.xml`\r\ninto an opt-in rather than an opt-out.\r\n\r\nFixes #653","created_at":"2018-09-27T00:08:42Z","updated_at":"2018-09-27T00:12:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"34e0f436890aad8e407eda4de06a266806586ff7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gohugoio/hugo/pulls/5259/commits","review_comments_url":"https://api.github.com/repos/gohugoio/hugo/pulls/5259/comments","review_comment_url":"https://api.github.com/repos/gohugoio/hugo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/5259/comments","statuses_url":"https://api.github.com/repos/gohugoio/hugo/statuses/81242440aee5e674d3e3cba851fcf710c705393c","head":{"label":"felicianotech:exclude-sitemap-page","ref":"exclude-sitemap-page","sha":"81242440aee5e674d3e3cba851fcf710c705393c","user":{"login":"felicianotech","id":6017470,"node_id":"MDQ6VXNlcjYwMTc0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6017470?v=4","gravatar_id":"","url":"https://api.github.com/users/felicianotech","html_url":"https://github.com/felicianotech","followers_url":"https://api.github.com/users/felicianotech/followers","following_url":"https://api.github.com/users/felicianotech/following{/other_user}","gists_url":"https://api.github.com/users/felicianotech/gists{/gist_id}","starred_url":"https://api.github.com/users/felicianotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicianotech/subscriptions","organizations_url":"https://api.github.com/users/felicianotech/orgs","repos_url":"https://api.github.com/users/felicianotech/repos","events_url":"https://api.github.com/users/felicianotech/events{/privacy}","received_events_url":"https://api.github.com/users/felicianotech/received_events","type":"User","site_admin":false},"repo":{"id":77641523,"node_id":"MDEwOlJlcG9zaXRvcnk3NzY0MTUyMw==","name":"hugo","full_name":"felicianotech/hugo","private":false,"owner":{"login":"felicianotech","id":6017470,"node_id":"MDQ6VXNlcjYwMTc0NzA=","avatar_url":"https://avatars1.githubusercontent.com/u/6017470?v=4","gravatar_id":"","url":"https://api.github.com/users/felicianotech","html_url":"https://github.com/felicianotech","followers_url":"https://api.github.com/users/felicianotech/followers","following_url":"https://api.github.com/users/felicianotech/following{/other_user}","gists_url":"https://api.github.com/users/felicianotech/gists{/gist_id}","starred_url":"https://api.github.com/users/felicianotech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/felicianotech/subscriptions","organizations_url":"https://api.github.com/users/felicianotech/orgs","repos_url":"https://api.github.com/users/felicianotech/repos","events_url":"https://api.github.com/users/felicianotech/events{/privacy}","received_events_url":"https://api.github.com/users/felicianotech/received_events","type":"User","site_admin":false},"html_url":"https://github.com/felicianotech/hugo","description":"A Fast and Flexible Static Site Generator built with love in GoLang","fork":true,"url":"https://api.github.com/repos/felicianotech/hugo","forks_url":"https://api.github.com/repos/felicianotech/hugo/forks","keys_url":"https://api.github.com/repos/felicianotech/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/felicianotech/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/felicianotech/hugo/teams","hooks_url":"https://api.github.com/repos/felicianotech/hugo/hooks","issue_events_url":"https://api.github.com/repos/felicianotech/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/felicianotech/hugo/events","assignees_url":"https://api.github.com/repos/felicianotech/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/felicianotech/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/felicianotech/hugo/tags","blobs_url":"https://api.github.com/repos/felicianotech/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/felicianotech/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/felicianotech/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/felicianotech/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/felicianotech/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/felicianotech/hugo/languages","stargazers_url":"https://api.github.com/repos/felicianotech/hugo/stargazers","contributors_url":"https://api.github.com/repos/felicianotech/hugo/contributors","subscribers_url":"https://api.github.com/repos/felicianotech/hugo/subscribers","subscription_url":"https://api.github.com/repos/felicianotech/hugo/subscription","commits_url":"https://api.github.com/repos/felicianotech/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/felicianotech/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/felicianotech/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/felicianotech/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/felicianotech/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/felicianotech/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/felicianotech/hugo/merges","archive_url":"https://api.github.com/repos/felicianotech/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/felicianotech/hugo/downloads","issues_url":"https://api.github.com/repos/felicianotech/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/felicianotech/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/felicianotech/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/felicianotech/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/felicianotech/hugo/labels{/name}","releases_url":"https://api.github.com/repos/felicianotech/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/felicianotech/hugo/deployments","created_at":"2016-12-29T21:42:10Z","updated_at":"2016-12-29T21:42:14Z","pushed_at":"2018-09-27T00:08:18Z","git_url":"git://github.com/felicianotech/hugo.git","ssh_url":"git@github.com:felicianotech/hugo.git","clone_url":"https://github.com/felicianotech/hugo.git","svn_url":"https://github.com/felicianotech/hugo","homepage":"http://gohugo.io","size":61160,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gohugoio:master","ref":"master","sha":"fb732d5322381ee7f3a849258419cef7bbf1487b","user":{"login":"gohugoio","id":29385237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5Mzg1MjM3","avatar_url":"https://avatars2.githubusercontent.com/u/29385237?v=4","gravatar_id":"","url":"https://api.github.com/users/gohugoio","html_url":"https://github.com/gohugoio","followers_url":"https://api.github.com/users/gohugoio/followers","following_url":"https://api.github.com/users/gohugoio/following{/other_user}","gists_url":"https://api.github.com/users/gohugoio/gists{/gist_id}","starred_url":"https://api.github.com/users/gohugoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gohugoio/subscriptions","organizations_url":"https://api.github.com/users/gohugoio/orgs","repos_url":"https://api.github.com/users/gohugoio/repos","events_url":"https://api.github.com/users/gohugoio/events{/privacy}","received_events_url":"https://api.github.com/users/gohugoio/received_events","type":"Organization","site_admin":false},"repo":{"id":11180687,"node_id":"MDEwOlJlcG9zaXRvcnkxMTE4MDY4Nw==","name":"hugo","full_name":"gohugoio/hugo","private":false,"owner":{"login":"gohugoio","id":29385237,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI5Mzg1MjM3","avatar_url":"https://avatars2.githubusercontent.com/u/29385237?v=4","gravatar_id":"","url":"https://api.github.com/users/gohugoio","html_url":"https://github.com/gohugoio","followers_url":"https://api.github.com/users/gohugoio/followers","following_url":"https://api.github.com/users/gohugoio/following{/other_user}","gists_url":"https://api.github.com/users/gohugoio/gists{/gist_id}","starred_url":"https://api.github.com/users/gohugoio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gohugoio/subscriptions","organizations_url":"https://api.github.com/users/gohugoio/orgs","repos_url":"https://api.github.com/users/gohugoio/repos","events_url":"https://api.github.com/users/gohugoio/events{/privacy}","received_events_url":"https://api.github.com/users/gohugoio/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/gohugoio/hugo","description":"The world’s fastest framework for building websites.","fork":false,"url":"https://api.github.com/repos/gohugoio/hugo","forks_url":"https://api.github.com/repos/gohugoio/hugo/forks","keys_url":"https://api.github.com/repos/gohugoio/hugo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gohugoio/hugo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gohugoio/hugo/teams","hooks_url":"https://api.github.com/repos/gohugoio/hugo/hooks","issue_events_url":"https://api.github.com/repos/gohugoio/hugo/issues/events{/number}","events_url":"https://api.github.com/repos/gohugoio/hugo/events","assignees_url":"https://api.github.com/repos/gohugoio/hugo/assignees{/user}","branches_url":"https://api.github.com/repos/gohugoio/hugo/branches{/branch}","tags_url":"https://api.github.com/repos/gohugoio/hugo/tags","blobs_url":"https://api.github.com/repos/gohugoio/hugo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gohugoio/hugo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gohugoio/hugo/git/refs{/sha}","trees_url":"https://api.github.com/repos/gohugoio/hugo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gohugoio/hugo/statuses/{sha}","languages_url":"https://api.github.com/repos/gohugoio/hugo/languages","stargazers_url":"https://api.github.com/repos/gohugoio/hugo/stargazers","contributors_url":"https://api.github.com/repos/gohugoio/hugo/contributors","subscribers_url":"https://api.github.com/repos/gohugoio/hugo/subscribers","subscription_url":"https://api.github.com/repos/gohugoio/hugo/subscription","commits_url":"https://api.github.com/repos/gohugoio/hugo/commits{/sha}","git_commits_url":"https://api.github.com/repos/gohugoio/hugo/git/commits{/sha}","comments_url":"https://api.github.com/repos/gohugoio/hugo/comments{/number}","issue_comment_url":"https://api.github.com/repos/gohugoio/hugo/issues/comments{/number}","contents_url":"https://api.github.com/repos/gohugoio/hugo/contents/{+path}","compare_url":"https://api.github.com/repos/gohugoio/hugo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gohugoio/hugo/merges","archive_url":"https://api.github.com/repos/gohugoio/hugo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gohugoio/hugo/downloads","issues_url":"https://api.github.com/repos/gohugoio/hugo/issues{/number}","pulls_url":"https://api.github.com/repos/gohugoio/hugo/pulls{/number}","milestones_url":"https://api.github.com/repos/gohugoio/hugo/milestones{/number}","notifications_url":"https://api.github.com/repos/gohugoio/hugo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gohugoio/hugo/labels{/name}","releases_url":"https://api.github.com/repos/gohugoio/hugo/releases{/id}","deployments_url":"https://api.github.com/repos/gohugoio/hugo/deployments","created_at":"2013-07-04T15:26:26Z","updated_at":"2018-09-27T00:00:40Z","pushed_at":"2018-09-27T00:08:43Z","git_url":"git://github.com/gohugoio/hugo.git","ssh_url":"git@github.com:gohugoio/hugo.git","clone_url":"https://github.com/gohugoio/hugo.git","svn_url":"https://github.com/gohugoio/hugo","homepage":"https://gohugo.io","size":61229,"stargazers_count":29065,"watchers_count":29065,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":3394,"mirror_url":null,"archived":false,"open_issues_count":304,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":3394,"open_issues":304,"watchers":29065,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/5259"},"html":{"href":"https://github.com/gohugoio/hugo/pull/5259"},"issue":{"href":"https://api.github.com/repos/gohugoio/hugo/issues/5259"},"comments":{"href":"https://api.github.com/repos/gohugoio/hugo/issues/5259/comments"},"review_comments":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/5259/comments"},"review_comment":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gohugoio/hugo/pulls/5259/commits"},"statuses":{"href":"https://api.github.com/repos/gohugoio/hugo/statuses/81242440aee5e674d3e3cba851fcf710c705393c"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"felicianotech"}}