diff options
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/post.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/_layouts/post.html b/_layouts/post.html index d922293..284b42b 100644 --- a/_layouts/post.html +++ b/_layouts/post.html | |||
| @@ -75,6 +75,37 @@ | |||
| 75 | 75 | ||
| 76 | {% include footer.html %} | 76 | {% include footer.html %} |
| 77 | 77 | ||
| 78 | <script type="application/ld+json"> | ||
| 79 | { | ||
| 80 | "@context": "http://schema.org", | ||
| 81 | "@type": "NewsArticle", | ||
| 82 | "mainEntityOfPage": { | ||
| 83 | "@type": "WebPage", | ||
| 84 | "@id": "{{ site.domain }}{{ page.slug }}" | ||
| 85 | }, | ||
| 86 | |||
| 87 | "image": [ | ||
| 88 | "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" | ||
| 89 | ], | ||
| 90 | "datePublished": "{{ page.date | date_to_xmlschema }}", | ||
| 91 | "dateModified": "{{ page.date | date_to_xmlschema }}", | ||
| 92 | "author": { | ||
| 93 | "@type": "Person", | ||
| 94 | "name": "Mitja Felicijan" | ||
| 95 | }, | ||
| 96 | "publisher": { | ||
| 97 | "@type": "Organization", | ||
| 98 | "name": "Mitja Felicijan", | ||
| 99 | "logo": { | ||
| 100 | "@type": "ImageObject", | ||
| 101 | "url": "{{ site.domain }}{{ site.avatar }}?ver={{ site.cache_version }}" | ||
| 102 | } | ||
| 103 | }, | ||
| 104 | "headline": "{{ page.title }}", | ||
| 105 | "description": "{{ page.description }}" | ||
| 106 | } | ||
| 107 | </script> | ||
| 108 | |||
| 78 | </body> | 109 | </body> |
| 79 | 110 | ||
| 80 | </html> | 111 | </html> |
