diff --git a/bin/build-site.js b/bin/build-site.js index e3596305..b01e0d35 100755 --- a/bin/build-site.js +++ b/bin/build-site.js @@ -291,6 +291,11 @@ async function buildSite() { writePage( '404.html', notFoundTemplate( { notFoundStyles } ) ); + + // Add empty robots.txt + console.log(); + console.log( 'Writing empty robots.txt' ); + writePage( 'robots.txt', '' ); console.log(); console.log( 'Site files are ready in "site/build/"' );