From 346b4faa76d8ef54216e5f33f4f51379a3e57ef4 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 13 Jun 2016 09:04:21 +0100 Subject: [PATCH] Add robots file for staging --- Makefile | 1 + content/assets/robots.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 content/assets/robots.txt diff --git a/Makefile b/Makefile index 0fd26cd..5978cfb 100644 --- a/Makefile +++ b/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 diff --git a/content/assets/robots.txt b/content/assets/robots.txt new file mode 100644 index 0000000..1f53798 --- /dev/null +++ b/content/assets/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /