summaryrefslogtreecommitdiff
path: root/examples/blog
diff options
context:
space:
mode:
authorGravatar Matthew Phillips <matthew@matthewphillips.info> 2021-06-08 14:13:13 -0400
committerGravatar GitHub <noreply@github.com> 2021-06-08 14:13:13 -0400
commit9ca9b4e69a625d881d15dfc5a786ea1283105dc1 (patch)
tree6016affdbd1acc9278d08ae58a21fe5fab92c34b /examples/blog
parent3c71fad17d14dc7a1ec35f1a499d0078b9ab0057 (diff)
downloadastro-9ca9b4e69a625d881d15dfc5a786ea1283105dc1.tar.gz
astro-9ca9b4e69a625d881d15dfc5a786ea1283105dc1.tar.zst
astro-9ca9b4e69a625d881d15dfc5a786ea1283105dc1.zip
Give the blog template a default `site` (#338)
Not having this causes it to throw in the build
Diffstat (limited to 'examples/blog')
-rw-r--r--examples/blog/astro.config.mjs2
1 files changed, 1 insertions, 1 deletions
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: {