asw-v01: archive deferred content (packs, site, lab, legacy examples)
- 2.1: packs/ -> archive/packs/ - 2.2: site/ -> archive/site/ - 2.3: src/lab/ -> archive/lab/ - 2.4: examples/ -> archive/examples-legacy/ (SSI-based)
This commit is contained in:
parent
416fe2f180
commit
e47a9f4401
173 changed files with 11 additions and 5 deletions
|
|
@ -1,25 +0,0 @@
|
|||
{{- /*
|
||||
partials/meta/ai-disclosure.html — AI-generated content disclosure
|
||||
|
||||
Emits the proposed W3C/WHATWG AI content disclosure meta tag and the
|
||||
corresponding HTTP-equiv header that satisfies EU AI Act Article 50
|
||||
obligations for AI-generated/AI-assisted web content.
|
||||
|
||||
The disclosure level is controlled per-page via front matter:
|
||||
ai_content: "generated" — fully AI-generated content
|
||||
ai_content: "assisted" — human-written with AI assistance (default)
|
||||
ai_content: "reviewed" — AI-generated, human-reviewed and edited
|
||||
ai_content: "none" — no AI involvement (suppresses the tag)
|
||||
|
||||
Site-wide default in hugo.toml:
|
||||
[params]
|
||||
ai_content = "assisted" # default for all pages
|
||||
|
||||
Reference:
|
||||
https://github.com/nickvdyck/ai-content-disclosure
|
||||
EU AI Act Article 50 (transparency obligations, Chapter IV)
|
||||
*/ -}}
|
||||
{{- $level := or .Params.ai_content .Site.Params.ai_content "assisted" -}}
|
||||
{{- if ne $level "none" -}}
|
||||
<meta name="ai-content-disclosure" content="{{ $level }}">
|
||||
{{- end }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue