Update README about robots.txt

This commit is contained in:
Dmitry Kolosov 2020-06-06 16:44:52 +03:00
parent 3d2abb5cfa
commit d8461318ef

View File

@ -15,6 +15,7 @@ Anubis is a simple minimalist theme for [Hugo blog engine](https://gohugo.io/).
- RSS feeds - RSS feeds
- Translations (en, ru, fr, pl) - Translations (en, ru, fr, pl)
- Multilingual mode - Multilingual mode
- Robots.txt
## Installation ## Installation
@ -39,6 +40,7 @@ theme: "anubis"
paginate: 10 paginate: 10
disqusShortname: yourdiscussshortname disqusShortname: yourdiscussshortname
googleAnalytics: UA-123-45 googleAnalytics: UA-123-45
enableRobotsTXT: true
menu: menu:
main: main:
@ -76,6 +78,10 @@ or just put `env: production` to `params` section of config.
### Multilingual mode ### 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/). 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 ## 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). 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).