From 085dc3feea30e838196e2aa32a1de91b5ea16021 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Sat, 15 Sep 2018 18:00:53 +0400 Subject: Simplification of forming a file 'robots.txt' Signed-off-by: Valentin Popov --- _pages/robots.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to '_pages/robots.txt') diff --git a/_pages/robots.txt b/_pages/robots.txt index 7ad8e77..0e79b92 100644 --- a/_pages/robots.txt +++ b/_pages/robots.txt @@ -5,9 +5,5 @@ layout: null User-agent: * Allow: {{ site.baseurl | relative_url | uri_escape }} - -{% for link in site.data.robots_disallow %} - Disallow: {{ link.path | relative_url | uri_escape }} -{% endfor %} - +Disallow: {{ "/404.html" | relative_url | uri_escape }} Sitemap: {{ "sitemap.xml" | absolute_url | uri_escape }} -- cgit v1.2.3