Generate permissive or restrictive robots.txt in the config generator
This commit is contained in:
parent
180b87257c
commit
cd41584ac4
2 changed files with 36 additions and 0 deletions
2
lib/mix/tasks/pleroma/robots_txt.eex
Normal file
2
lib/mix/tasks/pleroma/robots_txt.eex
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
User-Agent: *
|
||||
Disallow: <%= if indexable, do: "", else: "/" %>
|
||||
Loading…
Add table
Add a link
Reference in a new issue