summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@chimrod.com>2013-05-09 14:25:28 +0200
committerSébastien Dailly <sebastien@chimrod.com>2013-05-09 14:25:28 +0200
commit302756ec2b2712faf049ea7de5f094c09816d2c9 (patch)
tree62dfdba48f29fd6d5ff41b69c710f233534bcbc5
parent78ffa82e450452bb23dfadf8919f5ae98bea7667 (diff)
Added robots.txt
-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'