{"action":"created","comment":{"url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/comments/181412294","pull_request_review_id":112040885,"id":181412294,"diff_hunk":"@@ -467,6 +467,9 @@ module.exports = {\n           self.write(locale, page._url + '\\n');\n         }\n       } else {\n+        if (_.includes(self.excludeTypes, page.type)) {","path":"index.js","position":4,"original_position":4,"commit_id":"1324a76c499fb2c1922f3ef1c103dc2917bbc6dc","original_commit_id":"1324a76c499fb2c1922f3ef1c103dc2917bbc6dc","user":{"login":"boutell","id":32125,"avatar_url":"https://avatars1.githubusercontent.com/u/32125?v=4","gravatar_id":"","url":"https://api.github.com/users/boutell","html_url":"https://github.com/boutell","followers_url":"https://api.github.com/users/boutell/followers","following_url":"https://api.github.com/users/boutell/following{/other_user}","gists_url":"https://api.github.com/users/boutell/gists{/gist_id}","starred_url":"https://api.github.com/users/boutell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boutell/subscriptions","organizations_url":"https://api.github.com/users/boutell/orgs","repos_url":"https://api.github.com/users/boutell/repos","events_url":"https://api.github.com/users/boutell/events{/privacy}","received_events_url":"https://api.github.com/users/boutell/received_events","type":"User","site_admin":false},"body":"This will lose the children. You need to wrap the entire portion I pasted in slack in an \"if\" statement but not return... leave the \"is this locale relevant\" check outside the if though","created_at":"2018-04-13T14:49:04Z","updated_at":"2018-04-13T14:49:10Z","html_url":"https://github.com/apostrophecms/apostrophe-site-map/pull/11#discussion_r181412294","pull_request_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/comments/181412294"},"html":{"href":"https://github.com/apostrophecms/apostrophe-site-map/pull/11#discussion_r181412294"},"pull_request":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11","id":181491645,"html_url":"https://github.com/apostrophecms/apostrophe-site-map/pull/11","diff_url":"https://github.com/apostrophecms/apostrophe-site-map/pull/11.diff","patch_url":"https://github.com/apostrophecms/apostrophe-site-map/pull/11.patch","issue_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/11","number":11,"state":"open","locked":false,"title":"Allows to exclude pages by type","user":{"login":"abea","id":1155984,"avatar_url":"https://avatars0.githubusercontent.com/u/1155984?v=4","gravatar_id":"","url":"https://api.github.com/users/abea","html_url":"https://github.com/abea","followers_url":"https://api.github.com/users/abea/followers","following_url":"https://api.github.com/users/abea/following{/other_user}","gists_url":"https://api.github.com/users/abea/gists{/gist_id}","starred_url":"https://api.github.com/users/abea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abea/subscriptions","organizations_url":"https://api.github.com/users/abea/orgs","repos_url":"https://api.github.com/users/abea/repos","events_url":"https://api.github.com/users/abea/events{/privacy}","received_events_url":"https://api.github.com/users/abea/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-13T13:41:11Z","updated_at":"2018-04-13T14:49:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3ffaeaf187cc06551d7a946e4093731b90640757","assignee":{"login":"abea","id":1155984,"avatar_url":"https://avatars0.githubusercontent.com/u/1155984?v=4","gravatar_id":"","url":"https://api.github.com/users/abea","html_url":"https://github.com/abea","followers_url":"https://api.github.com/users/abea/followers","following_url":"https://api.github.com/users/abea/following{/other_user}","gists_url":"https://api.github.com/users/abea/gists{/gist_id}","starred_url":"https://api.github.com/users/abea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abea/subscriptions","organizations_url":"https://api.github.com/users/abea/orgs","repos_url":"https://api.github.com/users/abea/repos","events_url":"https://api.github.com/users/abea/events{/privacy}","received_events_url":"https://api.github.com/users/abea/received_events","type":"User","site_admin":false},"assignees":[{"login":"abea","id":1155984,"avatar_url":"https://avatars0.githubusercontent.com/u/1155984?v=4","gravatar_id":"","url":"https://api.github.com/users/abea","html_url":"https://github.com/abea","followers_url":"https://api.github.com/users/abea/followers","following_url":"https://api.github.com/users/abea/following{/other_user}","gists_url":"https://api.github.com/users/abea/gists{/gist_id}","starred_url":"https://api.github.com/users/abea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abea/subscriptions","organizations_url":"https://api.github.com/users/abea/orgs","repos_url":"https://api.github.com/users/abea/repos","events_url":"https://api.github.com/users/abea/events{/privacy}","received_events_url":"https://api.github.com/users/abea/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11/commits","review_comments_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11/comments","review_comment_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/comments{/number}","comments_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/11/comments","statuses_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/statuses/1324a76c499fb2c1922f3ef1c103dc2917bbc6dc","head":{"label":"apostrophecms:feat/exclude-index","ref":"feat/exclude-index","sha":"1324a76c499fb2c1922f3ef1c103dc2917bbc6dc","user":{"login":"apostrophecms","id":12648958,"avatar_url":"https://avatars1.githubusercontent.com/u/12648958?v=4","gravatar_id":"","url":"https://api.github.com/users/apostrophecms","html_url":"https://github.com/apostrophecms","followers_url":"https://api.github.com/users/apostrophecms/followers","following_url":"https://api.github.com/users/apostrophecms/following{/other_user}","gists_url":"https://api.github.com/users/apostrophecms/gists{/gist_id}","starred_url":"https://api.github.com/users/apostrophecms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostrophecms/subscriptions","organizations_url":"https://api.github.com/users/apostrophecms/orgs","repos_url":"https://api.github.com/users/apostrophecms/repos","events_url":"https://api.github.com/users/apostrophecms/events{/privacy}","received_events_url":"https://api.github.com/users/apostrophecms/received_events","type":"Organization","site_admin":false},"repo":{"id":25827332,"name":"apostrophe-site-map","full_name":"apostrophecms/apostrophe-site-map","owner":{"login":"apostrophecms","id":12648958,"avatar_url":"https://avatars1.githubusercontent.com/u/12648958?v=4","gravatar_id":"","url":"https://api.github.com/users/apostrophecms","html_url":"https://github.com/apostrophecms","followers_url":"https://api.github.com/users/apostrophecms/followers","following_url":"https://api.github.com/users/apostrophecms/following{/other_user}","gists_url":"https://api.github.com/users/apostrophecms/gists{/gist_id}","starred_url":"https://api.github.com/users/apostrophecms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostrophecms/subscriptions","organizations_url":"https://api.github.com/users/apostrophecms/orgs","repos_url":"https://api.github.com/users/apostrophecms/repos","events_url":"https://api.github.com/users/apostrophecms/events{/privacy}","received_events_url":"https://api.github.com/users/apostrophecms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apostrophecms/apostrophe-site-map","description":"Generates a site map of your Apostrophe site, for SEO and content strategy purposes.","fork":false,"url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map","forks_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/forks","keys_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/teams","hooks_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/hooks","issue_events_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/events{/number}","events_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/events","assignees_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/assignees{/user}","branches_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/branches{/branch}","tags_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/tags","blobs_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/statuses/{sha}","languages_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/languages","stargazers_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/stargazers","contributors_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/contributors","subscribers_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/subscribers","subscription_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/subscription","commits_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/contents/{+path}","compare_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/merges","archive_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/downloads","issues_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues{/number}","pulls_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls{/number}","milestones_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/milestones{/number}","notifications_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/labels{/name}","releases_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/releases{/id}","deployments_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/deployments","created_at":"2014-10-27T16:05:48Z","updated_at":"2018-04-13T13:06:20Z","pushed_at":"2018-04-13T13:41:13Z","git_url":"git://github.com/apostrophecms/apostrophe-site-map.git","ssh_url":"git@github.com:apostrophecms/apostrophe-site-map.git","clone_url":"https://github.com/apostrophecms/apostrophe-site-map.git","svn_url":"https://github.com/apostrophecms/apostrophe-site-map","homepage":"","size":217,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"apostrophecms:master","ref":"master","sha":"6295fd4d4abdeb1eba5585460fb765e3f730f681","user":{"login":"apostrophecms","id":12648958,"avatar_url":"https://avatars1.githubusercontent.com/u/12648958?v=4","gravatar_id":"","url":"https://api.github.com/users/apostrophecms","html_url":"https://github.com/apostrophecms","followers_url":"https://api.github.com/users/apostrophecms/followers","following_url":"https://api.github.com/users/apostrophecms/following{/other_user}","gists_url":"https://api.github.com/users/apostrophecms/gists{/gist_id}","starred_url":"https://api.github.com/users/apostrophecms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostrophecms/subscriptions","organizations_url":"https://api.github.com/users/apostrophecms/orgs","repos_url":"https://api.github.com/users/apostrophecms/repos","events_url":"https://api.github.com/users/apostrophecms/events{/privacy}","received_events_url":"https://api.github.com/users/apostrophecms/received_events","type":"Organization","site_admin":false},"repo":{"id":25827332,"name":"apostrophe-site-map","full_name":"apostrophecms/apostrophe-site-map","owner":{"login":"apostrophecms","id":12648958,"avatar_url":"https://avatars1.githubusercontent.com/u/12648958?v=4","gravatar_id":"","url":"https://api.github.com/users/apostrophecms","html_url":"https://github.com/apostrophecms","followers_url":"https://api.github.com/users/apostrophecms/followers","following_url":"https://api.github.com/users/apostrophecms/following{/other_user}","gists_url":"https://api.github.com/users/apostrophecms/gists{/gist_id}","starred_url":"https://api.github.com/users/apostrophecms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apostrophecms/subscriptions","organizations_url":"https://api.github.com/users/apostrophecms/orgs","repos_url":"https://api.github.com/users/apostrophecms/repos","events_url":"https://api.github.com/users/apostrophecms/events{/privacy}","received_events_url":"https://api.github.com/users/apostrophecms/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/apostrophecms/apostrophe-site-map","description":"Generates a site map of your Apostrophe site, for SEO and content strategy purposes.","fork":false,"url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map","forks_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/forks","keys_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/keys{/key_id}","collaborators_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/teams","hooks_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/hooks","issue_events_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/events{/number}","events_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/events","assignees_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/assignees{/user}","branches_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/branches{/branch}","tags_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/tags","blobs_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/refs{/sha}","trees_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/trees{/sha}","statuses_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/statuses/{sha}","languages_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/languages","stargazers_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/stargazers","contributors_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/contributors","subscribers_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/subscribers","subscription_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/subscription","commits_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/commits{/sha}","git_commits_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/git/commits{/sha}","comments_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/comments{/number}","issue_comment_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/comments{/number}","contents_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/contents/{+path}","compare_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/compare/{base}...{head}","merges_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/merges","archive_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/downloads","issues_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues{/number}","pulls_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls{/number}","milestones_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/milestones{/number}","notifications_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/labels{/name}","releases_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/releases{/id}","deployments_url":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/deployments","created_at":"2014-10-27T16:05:48Z","updated_at":"2018-04-13T13:06:20Z","pushed_at":"2018-04-13T13:41:13Z","git_url":"git://github.com/apostrophecms/apostrophe-site-map.git","ssh_url":"git@github.com:apostrophecms/apostrophe-site-map.git","clone_url":"https://github.com/apostrophecms/apostrophe-site-map.git","svn_url":"https://github.com/apostrophecms/apostrophe-site-map","homepage":"","size":217,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":1,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":5,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11"},"html":{"href":"https://github.com/apostrophecms/apostrophe-site-map/pull/11"},"issue":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/11"},"comments":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/apostrophecms/apostrophe-site-map/statuses/1324a76c499fb2c1922f3ef1c103dc2917bbc6dc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"boutell"}}