Toevoegen keywords in meerdere talen
This commit is contained in:
parent
8531747ad6
commit
90a36f831a
9
config/_default/params.en.toml
Normal file
9
config/_default/params.en.toml
Normal file
|
@ -0,0 +1,9 @@
|
|||
keywords = [
|
||||
"DevOps",
|
||||
"Information security",
|
||||
"Linux",
|
||||
"Open data",
|
||||
"Open source",
|
||||
"Open standards",
|
||||
"Privacy"
|
||||
]
|
|
@ -9,9 +9,19 @@ organization_sameas = [
|
|||
"https://www.wikidata.org/wiki/Q2137723",
|
||||
]
|
||||
|
||||
### Algemeen
|
||||
keywords = [
|
||||
"DevOps",
|
||||
"Informatiebeveiliging",
|
||||
"Linux",
|
||||
"Open data",
|
||||
"Open source",
|
||||
"Open standaarden",
|
||||
"Privacy"
|
||||
]
|
||||
|
||||
### Algemeen
|
||||
description = "NLUUG website met de doelstellingen, laatste nieuws en evenementen van onze vereniging."
|
||||
|
||||
# Fallback-auteur voor posts die geen echte auteur hebben
|
||||
author = "NLUUG"
|
||||
|
||||
|
@ -42,6 +52,4 @@ mastodon_instance = "https://nluug.social/"
|
|||
mastodon_handle = "nluug"
|
||||
twitter_handle = "nluug"
|
||||
|
||||
|
||||
|
||||
# EOF
|
||||
|
|
|
@ -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": [
|
||||
{
|
||||
|
|
Reference in a new issue