Added robots.txt

This commit is contained in:
Jun Wei Woon 2020-07-06 13:36:54 +08:00
parent 8a7d97f4be
commit 4f2e505de0
3 changed files with 16 additions and 0 deletions

View File

@ -6,6 +6,9 @@ defaultContentLanguage = "en"
defaultContentLanguageInSubdir = true
hasCJKLanguage = true
# Robots.txt
enableRobotsTXT = true
summaryLength = 70
buildFuture = true

View File

@ -31,7 +31,9 @@ A clean home/project directory allows us to be able to work productively, withou
This is a simple script to help you clean your directory in seconds
### Caution
{{< alert theme="danger" dir="ltr" >}}
__DO NOT__ run the script on any directory containing system/important files.
{{< /alert >}}
## Dependencies
* [Python3.8](https://www.python.org/)

11
layouts/robots.txt Normal file
View File

@ -0,0 +1,11 @@
User-agent: *
Allow: /
User-agent: *
Disallow: /gallery
User-agent: *
Disallow: /static
User-agent: *
Disallow: /images