mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
* adding seo schema from json file * range trought schema files list * article json-ld, all schemas from files * fixes * fixes * seo schema fixes * fix
25 lines
1.1 KiB
JSON
25 lines
1.1 KiB
JSON
{
|
|
"@type": "Article",
|
|
"@id": "{{- .Permalink -}}#article",
|
|
"name": "{{- .Params.title | htmlEscape -}}",
|
|
"headline": "{{- .Params.title | htmlEscape -}}",
|
|
"image": [
|
|
"{{- if .Params.social_preview_image -}}{{- .Params.social_preview_image | absURL -}}{{- end -}}"
|
|
],
|
|
"url": "{{- .Permalink -}}",
|
|
"description": {{ $description := printf "%s" (.Params.description | plainify | replaceRE "(\n)" "" | replaceRE "[^\\w\\s:\\[\\]{}\"]" "" | htmlEscape ) -}}"{{- $description -}}",
|
|
"abstract": {{- $abstract := .Summary -}}{{- if .Params.description -}}{{- $abstract = .Params.description -}}{{- end -}}{{ $processedAbstract := printf "%s" ($abstract | plainify | replaceRE "(\n)" "" | replaceRE "[^\\w\\s:\\[\\]{}\"]" "" | htmlEscape ) -}}"{{- $processedAbstract -}}",
|
|
"wordCount": "{{- .WordCount -}}",
|
|
"datePublished": "{{ .Date }}" ,
|
|
"dateModified": "{{ .Date }}",{{- if .Params.author -}}
|
|
"author": {
|
|
"@type": "Person",
|
|
"name": "{{- .Params.author | htmlEscape -}}"
|
|
}{{- else -}}
|
|
"author": {
|
|
"@type": "Organization",
|
|
"name": "Qdrant",
|
|
"url": "https://qdrant.tech/"
|
|
}{{- end -}}
|
|
}
|