Update build-site.js

This commit is contained in:
rylim 2021-10-25 20:52:46 -07:00 committed by GitHub
parent 6c545eaead
commit 08561b7370
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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/"' );