|
9 | 9 | <title>{% if page.title_prefix %}{{ page.title_prefix }} | {% endif %}{{ page.page_title | default: page.title }}{% if site.use_product_in_title != false %} | {{ site.product }} {% endif %}</title> |
10 | 10 | <meta name="description" content="{{ page.description | parse_front_matter }}" /> |
11 | 11 | {% if page.res_type %}<meta name="restype" content="{{ page.res_type }}">{% else %}<meta name="restype" content="documentation">{% endif %} |
| 12 | + {% if site.progress_hosting != true %} |
| 13 | + <script type="application/ld+json"> |
| 14 | + { |
| 15 | + "@context": "https://schema.org", |
| 16 | + "@type": "TechArticle", |
| 17 | + "mainEntityOfPage": { |
| 18 | + "@type": "WebPage", |
| 19 | + "@id": "https://docs.telerik.com{{site.baseurl}}{{page.url | replace: '.html',''}}" |
| 20 | + }, |
| 21 | + "headline": "{% if page.title_prefix %}{{ page.title_prefix }} | {% endif %}{{ page.page_title | default: page.title }}{% if site.use_product_in_title != false %} | {{ site.product }} {% endif %}", |
| 22 | + "author":{ |
| 23 | + "@type":"Organization", |
| 24 | + "name":"Telerik"}, |
| 25 | + "publisher": { |
| 26 | + "@type": "Organization", |
| 27 | + "name": "Telerik", |
| 28 | + "alternateName":"Телерик", |
| 29 | + "url":"https://www.telerik.com/", |
| 30 | + "sameAs":["https://www.facebook.com/Telerik", |
| 31 | + "https://twitter.com/Telerik", |
| 32 | + "https://plus.google.com/+Telerik", |
| 33 | + "https://www.linkedin.com/company/telerik", |
| 34 | + "https://github.com/telerik","https://www.youtube.com/user/TelerikInc"], |
| 35 | + "logo": { |
| 36 | + "@type": "ImageObject", |
| 37 | + "url": "https://telerik-media.s3.amazonaws.com/assets/progress-telerik-logo-black.png" |
| 38 | + } |
| 39 | + }, |
| 40 | + "description": "{{ page.description | parse_front_matter }}", |
| 41 | + "about": "{{ site.product }}", |
| 42 | + "isPartOf": "{% if site.product_url %}{{ site.product_url }}{% else %}https://docs.telerik.com{{site.baseurl}}{% endif %}" |
| 43 | + } |
| 44 | + </script> |
| 45 | + {% endif %} |
12 | 46 | <link rel="shortcut icon" href="{{site.baseurl}}/favicon.ico"/> |
13 | 47 |
|
14 | 48 | {% if page.needs_canonical %} |
|
0 commit comments