aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extras/robots.txt2
-rwxr-xr-xpelicanconf.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/extras/robots.txt b/extras/robots.txt
new file mode 100644
index 0000000..51f2484
--- /dev/null
+++ b/extras/robots.txt
@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /drafts/
diff --git a/pelicanconf.py b/pelicanconf.py
index cd38cc3..c9b1cc2 100755
--- a/pelicanconf.py
+++ b/pelicanconf.py
@@ -38,6 +38,7 @@ TYPOGRIFY = True
TEMPLATE_PAGES = {'../extras/404.html': '404.html'}
FILES_TO_COPY = (
('../extras/htaccess', '.htaccess'),
+ ('../extras/robots.txt', 'robots.txt'),
)
PLUGIN_PATH = 'plugins'