1234567891011121314151617181920212223242526272829 |
- {
- "@context": "http://schema.org",
- "@type": "NewsArticle",
- "mainEntityOfPage": "{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}",
- "headline": "{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}",
- "datePublished": "{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}",
- "dateModified": "{% if page.date %}{{ page.date | date_to_xmlschema }}{% else %}{{ site.time | date_to_xmlschema }}{% endif %}",
- "description": "{{ page.content | strip_html | strip_newlines | truncate: 160 }}",
- "author": {
- "@type": "Person",
- "name": "{{ site.author }}"
- },
- "publisher": {
- "@type": "Organization",
- "name": "Data 100 at UC Berkeley",
- "logo": {
- "@type": "ImageObject",
- "url": "{{ site.logo | prepend: site.baseurl | prepend: site.url }}",
- "width": 60,
- "height": 60
- }
- },
- "image": {
- "@type": "ImageObject",
- "url": "{{ site.logo | prepend: site.baseurl | prepend: site.url }}",
- "height": 60,
- "width": 60
- }
- }
|