adds draft configuration option to starter

This commit is contained in:
ewatch 2021-06-21 18:41:23 +02:00 committed by Nate Moore
parent 5c6c6c39bc
commit eadf186e42

View file

@ -4,6 +4,7 @@ export default {
// dist: './dist', // When running `astro build`, path to final static output // dist: './dist', // When running `astro build`, path to final static output
// public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that dont need processing. // public: './public', // A folder of static files Astro will copy to the root. Useful for favicons, images, and other files that dont need processing.
buildOptions: { buildOptions: {
// draft: true, // Ignore markdown documents marked as draft when running `astro build`
// site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs. // site: 'http://example.com', // Your public domain, e.g.: https://my-site.dev/. Used to generate sitemaps and canonical URLs.
// sitemap: true, // Generate sitemap (set to "false" to disable) // sitemap: true, // Generate sitemap (set to "false" to disable)
}, },