mirror of
https://github.com/mikaela/mikaela.github.io/
synced 2025-02-16 13:31:00 +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
|
- jekyll-sitemap
|
||||||
sitemap:
|
sitemap:
|
||||||
file: "/sitemap.xml"
|
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]
|
include: [PGP, PHP, keybase.txt, robots.txt]
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
User-agent: *
|
User-agent: *
|
||||||
Allow: /
|
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
|
Sitemap: https://mikaela.info/sitemap.xml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user