2020-05-08 08:04:09 +00:00
|
|
|
{% if page and page.meta %}
|
2020-05-19 10:45:02 +00:00
|
|
|
<script type="application/ld+json">[{
|
2020-05-08 08:04:09 +00:00
|
|
|
"@context": "http://schema.org",
|
2020-06-16 06:31:00 +00:00
|
|
|
"@type": "{% if is_blog %}BlogPosting{% else %}TechArticle{% endif %}",
|
2020-05-08 08:04:09 +00:00
|
|
|
"headline": "{{ title }}",
|
2021-09-19 20:38:31 +00:00
|
|
|
"mainEntityOfPage": "{{ url or 'https://clickhouse.com/' }}",
|
2020-06-16 06:31:00 +00:00
|
|
|
{% if page.meta.date %}
|
|
|
|
"datePublished": "{{ page.meta.date }}",
|
|
|
|
"dateModified": "{{ page.meta.date }}",
|
|
|
|
{% else %}
|
2020-05-08 08:04:09 +00:00
|
|
|
{% if page.meta.published_date %}"datePublished": "{{ page.meta.published_date.isoformat() }}",{% endif %}
|
|
|
|
{% if page.meta.modified_date %}"dateModified": "{{ page.meta.modified_date.isoformat() }}",{% endif %}
|
2020-06-16 06:31:00 +00:00
|
|
|
{% endif %}
|
2021-09-19 20:38:31 +00:00
|
|
|
"image": "{{ page.meta.image or 'https://clickhouse.com/images/clickhouse-209x60.png' }}",
|
2020-05-08 08:04:09 +00:00
|
|
|
"author": {
|
|
|
|
"@type": "Project",
|
|
|
|
"name": "ClickHouse"
|
|
|
|
},
|
|
|
|
"publisher": {
|
|
|
|
"@type": "Organization",
|
2021-09-19 20:38:31 +00:00
|
|
|
"name": "ClickHouse, Inc.",
|
2020-05-08 08:04:09 +00:00
|
|
|
"logo": {
|
|
|
|
"@type": "ImageObject",
|
2021-09-19 20:38:31 +00:00
|
|
|
"url": "https://clickhouse.com/images/logo-400x240.png",
|
|
|
|
"width": 400,
|
|
|
|
"height": 240
|
2020-05-08 08:04:09 +00:00
|
|
|
}
|
2020-06-16 06:31:00 +00:00
|
|
|
}}{% if not is_blog %}, {
|
2020-05-19 10:45:02 +00:00
|
|
|
"@context": "http://schema.org",
|
|
|
|
"@type": "Episode",
|
|
|
|
"name": "{{ title }}",
|
2020-05-19 12:41:45 +00:00
|
|
|
"aggregateRating": {
|
2020-05-19 15:09:49 +00:00
|
|
|
"@type": "AggregateRating",
|
2020-05-19 12:41:45 +00:00
|
|
|
"ratingValue": RATING_VALUE,
|
|
|
|
"ratingCount": RATING_COUNT
|
|
|
|
}
|
2020-06-16 06:31:00 +00:00
|
|
|
}{% endif %}]</script>
|
2020-05-08 08:04:09 +00:00
|
|
|
{% endif %}
|