From d8461318ef36ba578b5304021ffaefa6d22d1ea2 Mon Sep 17 00:00:00 2001 From: Dmitry Kolosov Date: Sat, 6 Jun 2020 16:44:52 +0300 Subject: [PATCH] Update README about robots.txt --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index df0a7fb..62b5513 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/). - RSS feeds - Translations (en, ru, fr, pl) - Multilingual mode +- Robots.txt ## Installation @@ -39,6 +40,7 @@ theme: "anubis" paginate: 10 disqusShortname: yourdiscussshortname googleAnalytics: UA-123-45 +enableRobotsTXT: true menu: main: @@ -76,6 +78,10 @@ or just put `env: production` to `params` section of config. ### Multilingual mode Check config/example usage in [exampleSiteMultilingual](https://github.com/Mitrichius/hugo-theme-anubis/tree/master/exampleSiteMultilingual) directory and documentation on [Hugo site](https://gohugo.io/content-management/multilingual/). +### Robots.txt +Based on environment. +For production — allow all, for other — disallow all + ## Contributing If you find a bug or have an idea for a feature, feel free to write an [issue](https://github.com/mitrichius/hugo-theme-anubis/issues).