Add robots file for staging
This commit is contained in:
parent
384f5a216f
commit
346b4faa76
2 changed files with 3 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -20,6 +20,7 @@ build: install
|
|||
npm run build-scss
|
||||
@echo ">> Building pelican..."
|
||||
$(PELICAN) -o $(OUTPUTDIR) -v
|
||||
mv $(OUTPUTDIR)/assets/robots.txt $(OUTPUTDIR)
|
||||
cp -R $(OUTPUTDIR)/assets/* $(OUTPUTDIR)/static
|
||||
rm -rf $(OUTPUTDIR)/assets
|
||||
|
||||
|
|
2
content/assets/robots.txt
Normal file
2
content/assets/robots.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
User-agent: *
|
||||
Disallow: /
|
Reference in a new issue