Gestion du JSON-LD
This commit is contained in:
10
layouts/partials/seo/noindex.html
Normal file
10
layouts/partials/seo/noindex.html
Normal 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 -}}
|
||||
Reference in New Issue
Block a user