Update jsonld
This commit is contained in:
parent
9c69485b3a
commit
c2ce27ea6c
|
|
@ -5,12 +5,12 @@
|
|||
"url": "{{ .ctx.Site.BaseURL }}",
|
||||
"email": "{{ .org.email }}",
|
||||
"telephone": {{ .org.telephone | jsonify }},
|
||||
"logo": {{ partial "schema/image.jsonld" (dict "url" "/img/logo.svg" "ctx" .ctx) }}
|
||||
{{ if (ne .short true) }}
|
||||
{{- with .org.faxNumber -}}
|
||||
"faxNumber": {{ . | jsonify }}
|
||||
,"faxNumber": {{ . | jsonify }}
|
||||
{{- end -}},
|
||||
"address": {{ partial "schema/address.jsonld" (dict "address" .org.address "ctx" .ctx)}},
|
||||
"logo": {{ partial "schema/image.jsonld" (dict "url" "/img/logo.svg" "ctx" .ctx) }}
|
||||
,"address": {{ partial "schema/address.jsonld" (dict "address" .org.address "ctx" .ctx)}},
|
||||
{{ with .org.social }}
|
||||
{{- $social := slice -}}
|
||||
{{- with .facebook }}
|
||||
|
|
|
|||
|
|
@ -30,5 +30,5 @@
|
|||
"keywords": "{{ with .post.Keywords }}{{ delimit . ", " }}{{ end }}",
|
||||
{{ $imageURL := path.Join .post.RelPermalink "bilder/" .post.Params.featuredImage }}
|
||||
"image": {{ partial "schema/image.jsonld" (dict "url" $imageURL "ctx" .ctx) }},
|
||||
"articleBody": {{ .ctx.Content }}
|
||||
"articleBody": {{ .ctx.Content | jsonify }}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue