{"action":"created","issue":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/653","repository_url":"https://api.github.com/repos/gohugoio/hugo","labels_url":"https://api.github.com/repos/gohugoio/hugo/issues/653/labels{/name}","comments_url":"https://api.github.com/repos/gohugoio/hugo/issues/653/comments","events_url":"https://api.github.com/repos/gohugoio/hugo/issues/653/events","html_url":"https://github.com/gohugoio/hugo/issues/653","id":49304358,"node_id":"MDU6SXNzdWU0OTMwNDM1OA==","number":653,"title":"Means to exclude content from sitemap.xml","user":{"login":"jameslai","id":223513,"node_id":"MDQ6VXNlcjIyMzUxMw==","avatar_url":"https://avatars1.githubusercontent.com/u/223513?v=4","gravatar_id":"","url":"https://api.github.com/users/jameslai","html_url":"https://github.com/jameslai","followers_url":"https://api.github.com/users/jameslai/followers","following_url":"https://api.github.com/users/jameslai/following{/other_user}","gists_url":"https://api.github.com/users/jameslai/gists{/gist_id}","starred_url":"https://api.github.com/users/jameslai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jameslai/subscriptions","organizations_url":"https://api.github.com/users/jameslai/orgs","repos_url":"https://api.github.com/users/jameslai/repos","events_url":"https://api.github.com/users/jameslai/events{/privacy}","received_events_url":"https://api.github.com/users/jameslai/received_events","type":"User","site_admin":false},"labels":[{"id":46429358,"node_id":"MDU6TGFiZWw0NjQyOTM1OA==","url":"https://api.github.com/repos/gohugoio/hugo/labels/Enhancement","name":"Enhancement","color":"fbca04","default":false},{"id":550521726,"node_id":"MDU6TGFiZWw1NTA1MjE3MjY=","url":"https://api.github.com/repos/gohugoio/hugo/labels/Keep","name":"Keep","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2014-11-18T22:46:05Z","updated_at":"2018-08-10T08:50:03Z","closed_at":null,"author_association":"NONE","body":"I've looked through the existing documentation on the \"Front Matter\" and have not been able to find an option to exclude content from appearing in the sitemap.\n\nThis use case arises when we want content to be included in \"master\" pages. For example, our careers page lists all careers by ranging over `.Data.Pages` and displaying the title and content (which amounts to a brief description), though we technically do not want each individual career to have its own landing page.\n\nNormally this isn't an issue, but it becomes one on the sitemap.xml as the pages, which shouldn't really have their own URL, are included in the sitemap. As these pieces of content don't have dates associated with them, Google Webmaster Tools reports an invalid date. It also produces a fairly pointless URL with negligible content.\n"},"comment":{"url":"https://api.github.com/repos/gohugoio/hugo/issues/comments/412019886","html_url":"https://github.com/gohugoio/hugo/issues/653#issuecomment-412019886","issue_url":"https://api.github.com/repos/gohugoio/hugo/issues/653","id":412019886,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMjAxOTg4Ng==","user":{"login":"XhmikosR","id":349621,"node_id":"MDQ6VXNlcjM0OTYyMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/349621?v=4","gravatar_id":"","url":"https://api.github.com/users/XhmikosR","html_url":"https://github.com/XhmikosR","followers_url":"https://api.github.com/users/XhmikosR/followers","following_url":"https://api.github.com/users/XhmikosR/following{/other_user}","gists_url":"https://api.github.com/users/XhmikosR/gists{/gist_id}","starred_url":"https://api.github.com/users/XhmikosR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/XhmikosR/subscriptions","organizations_url":"https://api.github.com/users/XhmikosR/orgs","repos_url":"https://api.github.com/users/XhmikosR/repos","events_url":"https://api.github.com/users/XhmikosR/events{/privacy}","received_events_url":"https://api.github.com/users/XhmikosR/received_events","type":"User","site_admin":false},"created_at":"2018-08-10T08:50:03Z","updated_at":"2018-08-10T08:50:03Z","author_association":"NONE","body":"@bep: I know, I'm already using a custom sitemap template :) I was doing some cleanup in my templates and thought I'd try `sitemap: false` in my front matter, but didn't work so I searched the issues and saw this. I had totally forgotten about this until now."}}
{"actor":{"display_login":"XhmikosR"}}