Toevoegen keywords in meerdere talen

This commit is contained in:
Michael Boelen 2023-06-23 11:38:52 +02:00
parent 8531747ad6
commit 90a36f831a
3 changed files with 22 additions and 5 deletions

View file

@ -1,7 +1,7 @@
{{ $baseUrl := .Site.BaseURL }}
{{ $location := index .Site.Data.location .Site.Params.primarylocation }}
{{ $logoresource := resources.Get ($.Site.Params.logoNormal | replaceRE "^/" "") }}
{{ $keywords := .Site.Params.keywords }}
<script type="application/ld+json">
[
{
@ -39,7 +39,7 @@
"query-input": "required name=search_term_string"
},
"keywords":[
{{ range $i, $e := .Site.Params.keywords }}{{ if $i }}, {{ end }}"{{ $e }}"{{ end }}
{{ range $i, $e := $keywords }}{{ if $i }}, {{ end }}"{{ $e }}"{{ end }}
],
"hasPart": [
{