mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2024-11-22 12:09:28 +01:00
block bot & channel in sitemap.xml & robots.txt
This commit is contained in:
parent
a4048c4d7e
commit
0a2a8fb126
@ -26,4 +26,9 @@ gems:
|
||||
- jekyll-sitemap
|
||||
sitemap:
|
||||
file: "/sitemap.xml"
|
||||
exclude:
|
||||
# Even if you can see the existence of these pages here, I don't
|
||||
# wish to get search engine attention to them.
|
||||
- "/bot.html"
|
||||
- "/channel.html"
|
||||
include: [PGP, PHP, keybase.txt, robots.txt]
|
||||
|
@ -1,4 +1,9 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
# I prefer search engines to not advertise these pages even if you can find
|
||||
# them here or in `_config.yml`.
|
||||
Deny: /bot.html
|
||||
Deny: /channel.html
|
||||
|
||||
Sitemap: https://mikaela.info/sitemap.xml
|
||||
|
Loading…
Reference in New Issue
Block a user