mirror of
https://github.com/davegallant/davegallant.github.io.git
synced 2025-08-10 02:22:26 +00:00
Compare commits
1 Commits
main
...
2e172c9ed8
Author | SHA1 | Date | |
---|---|---|---|
|
2e172c9ed8 |
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
- run: hugo --minify
|
- run: hugo --minify
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
publish_branch: generated
|
publish_branch: generated
|
||||||
|
53
themes/custom-theme/layouts/robots.txt
Normal file
53
themes/custom-theme/layouts/robots.txt
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
# Dark Visitors robots.txt
|
||||||
|
|
||||||
|
# AI Data Scraper
|
||||||
|
# https://darkvisitors.com/agents/anthropic-ai
|
||||||
|
|
||||||
|
User-agent: anthropic-ai
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
# AI Data Scraper
|
||||||
|
# https://darkvisitors.com/agents/ccbot
|
||||||
|
|
||||||
|
User-agent: CCBot
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
# AI Data Scraper
|
||||||
|
# https://darkvisitors.com/agents/facebookbot
|
||||||
|
|
||||||
|
User-agent: FacebookBot
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
# AI Data Scraper
|
||||||
|
# https://darkvisitors.com/agents/google-extended
|
||||||
|
|
||||||
|
User-agent: Google-Extended
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
# AI Data Scraper
|
||||||
|
# https://darkvisitors.com/agents/gptbot
|
||||||
|
|
||||||
|
User-agent: GPTBot
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
# AI Data Scraper
|
||||||
|
# https://darkvisitors.com/agents/omgilibot
|
||||||
|
|
||||||
|
User-agent: omgilibot
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
User-agent: omgili
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
# This blocks Bytespider
|
||||||
|
https://darkvisitors.com/agents/bytespider
|
||||||
|
User-agent: Bytespider
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
User-agent: *
|
||||||
|
{{ if eq (hugo.Environment) "production" -}}
|
||||||
|
Allow: /
|
||||||
|
{{ else -}}
|
||||||
|
Disallow: /
|
||||||
|
{{ end -}}
|
||||||
|
Sitemap: {{ "sitemap.xml" | absURL -}}
|
Reference in New Issue
Block a user