From 65374bb4b4456e6401162a148ab9298c16749c94 Mon Sep 17 00:00:00 2001 From: Marc Riera Date: Wed, 15 May 2019 11:44:53 +0200 Subject: [PATCH] Add robots.txt --- config.toml | 1 + layouts/robots.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 layouts/robots.txt diff --git a/config.toml b/config.toml index 2069eef..6090d51 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,7 @@ title = "Marc Riera Irigoyen" theme = "marcriera" DefaultContentLanguage = "ca" removePathAccents = true +enableRobotsTXT = true [params] name = "Marc Riera Irigoyen" diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..512ab5e --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /files