From eadf186e420ee3219c4b545c9c8310f3b21ae08e Mon Sep 17 00:00:00 2001 From: ewatch Date: Mon, 21 Jun 2021 18:41:23 +0200 Subject: [PATCH] adds draft configuration option to starter --- examples/starter/astro.config.mjs | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/starter/astro.config.mjs b/examples/starter/astro.config.mjs index e16ed1327..4088a4404 100644 --- a/examples/starter/astro.config.mjs +++ b/examples/starter/astro.config.mjs @@ -4,6 +4,7 @@ export default { // 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 don’t need processing. 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. // sitemap: true, // Generate sitemap (set to "false" to disable) },