1

Gestion du JSON-LD

This commit is contained in:
2026-03-16 21:21:27 +01:00
parent 7676fe3e22
commit b518d573bc
14 changed files with 275 additions and 8 deletions

View File

@@ -0,0 +1,10 @@
{{- $searchPath := site.Params.search.action | relURL -}}
{{- $noindex := eq .RelPermalink $searchPath -}}
{{- if not $noindex -}}
{{- with .Params.seo -}}
{{- with index . "noindex" -}}
{{- $noindex = . -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- return $noindex -}}