|
94 | 94 | } |
95 | 95 | </script> |
96 | 96 |
|
| 97 | +<!-- Article Schema for Image Thumbnails --> |
| 98 | +<script type="application/ld+json"> |
| 99 | +{ |
| 100 | + "@context": "https://schema.org", |
| 101 | + "@type": "Article", |
| 102 | + "headline": "{{ name }}: {{ cuisine }} Restaurant Review in {{ area }}", |
| 103 | + "description": "{{ description }}", |
| 104 | + "url": "{{ SITE_URL }}{{ url }}", |
| 105 | + {% if food_image_path %} |
| 106 | + "image": [ |
| 107 | + { |
| 108 | + "@type": "ImageObject", |
| 109 | + "url": "{{ SITE_URL }}{{ food_image_path }}", |
| 110 | + "width": 1200, |
| 111 | + "height": 675, |
| 112 | + "caption": "{{ alt_text if alt_text else 'Vegan food at ' + name }}" |
| 113 | + } |
| 114 | + ], |
| 115 | + {% endif %} |
| 116 | + "datePublished": "{{ visited }}", |
| 117 | + "dateModified": "{{ visited }}", |
| 118 | + "author": { |
| 119 | + "@type": "Organization", |
| 120 | + "name": "Vegans In Love with Food", |
| 121 | + "url": "{{ SITE_URL }}" |
| 122 | + }, |
| 123 | + "publisher": { |
| 124 | + "@type": "Organization", |
| 125 | + "name": "Vegans In Love with Food", |
| 126 | + "url": "{{ SITE_URL }}", |
| 127 | + "logo": { |
| 128 | + "@type": "ImageObject", |
| 129 | + "url": "{{ SITE_URL }}/favicon.png", |
| 130 | + "width": 512, |
| 131 | + "height": 512 |
| 132 | + } |
| 133 | + }, |
| 134 | + "mainEntityOfPage": { |
| 135 | + "@type": "WebPage", |
| 136 | + "@id": "{{ SITE_URL }}{{ url }}" |
| 137 | + }, |
| 138 | + "about": { |
| 139 | + "@type": "Restaurant", |
| 140 | + "name": "{{ name }}", |
| 141 | + "address": { |
| 142 | + "@type": "PostalAddress", |
| 143 | + "streetAddress": "{{ address }}", |
| 144 | + "addressLocality": "{{ area }}", |
| 145 | + "addressRegion": "CA", |
| 146 | + "addressCountry": "US" |
| 147 | + }, |
| 148 | + "servesCuisine": "{{ cuisine }}" |
| 149 | + } |
| 150 | +} |
| 151 | +</script> |
| 152 | + |
97 | 153 | <script type="application/ld+json"> |
98 | 154 | { |
99 | 155 | "@context": "https://schema.org", |
|
0 commit comments