1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-12-24 01:42:10 +00:00

opt out of gen-ai training

This commit is contained in:
Rohan Kumar 2024-03-12 20:29:15 -04:00
parent 84e2fd9e79
commit 4a11ca9f39
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 8 additions and 1 deletions

View file

@ -13,8 +13,12 @@
{{ $resources = $resources | append (resources.Get "css/print.css" | resources.ExecuteAsTemplate "print.css" .) -}}
{{- $css := $resources | resources.Concat "css/style.css" | minify -}}
<style>{{ $css.Content | safeCSS }}</style>
<!-- Only index the canonical locations, not the envs.net mirror. -->
{{ if or (eq site.BaseURL site.Params.CanonicalBaseURL) (in site.BaseURL "wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion") -}}
<meta name="robots" content="index,follow,max-image-preview:large,max-snippet=-1" />
<!-- See https://noml.info/, https://www.deviantart.com/team/journal/UPDATE-All-Deviations-Are-Opted-Out-of-AI-Datasets-934500371 -->
<meta name="robots" content="index,follow,max-image-preview:large,max-snippet=-1,noai,noimageai,noml" />
{{ else -}}
<meta name="robots" content="noindex,nofollow,noimageindex,noai,noimageai" />
{{ end -}}
<link href="{{ .Site.Params.CanonicalBaseURL }}{{ $canonicalRelPermalink }}" rel="canonical" />
<link href="{{ .Site.Params.WebmentionEndpoint }}" rel="webmention" />

View file

@ -49,5 +49,8 @@ Disallow: /
User-agent: GPTBot
Disallow: /
# Official way to opt-out of Google's generative AI training: https://developers.google.com/search/docs/crawling-indexing/overview-google-crawlers
User-agent: Google-Extended
Disallow: /
Sitemap: https://seirdy.one/sitemap.xml