From 9ca9b4e69a625d881d15dfc5a786ea1283105dc1 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Tue, 8 Jun 2021 14:13:13 -0400 Subject: [PATCH] Give the blog template a default `site` (#338) Not having this causes it to throw in the build --- examples/blog/astro.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/blog/astro.config.mjs b/examples/blog/astro.config.mjs index c7583a774..d72db6491 100644 --- a/examples/blog/astro.config.mjs +++ b/examples/blog/astro.config.mjs @@ -4,7 +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: { - // site: '', // 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) }, devOptions: {