Exclude pages from Sitemap

Some pages should not be included into a google sitemap. A thank-you page for a contact form would be an example. See below how to exclude such pages from the sitemap.

In the page properties you will find a checkbox "Include in Search" under the tab "Behaviour". Pages with this checkbox checked are disabled from the google Sitemap and the internal search engine. See the screenshot below for details.