diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..48e0246 --- /dev/null +++ b/robots.txt @@ -0,0 +1,12 @@ +--- +layout: null +sitemap: false +--- +{% if jekyll.environment == 'production' %} +User-agent: * +Sitemap: {{ site.url }}/sitemap.xml +{% else %} +User-agent: * +Disallow: / +noindex: / +{% endif %} \ No newline at end of file