File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 1212 < meta property ="og:description " content ="{{ description }} " />
1313 < meta name ="twitter:description " content ="{{ description }} " />
1414
15+ {% if food_image_path %}
16+ < meta property ="og:image " content ="{{ SITE_URL }}{{ food_image_path.replace('.webp', '.jpg') if food_image_path.endswith('.webp') else food_image_path }} " />
17+ < meta name ="twitter:image " content ="{{ SITE_URL }}{{ food_image_path.replace('.webp', '.jpg') if food_image_path.endswith('.webp') else food_image_path }} " />
18+ < meta property ="og:image:width " content ="1200 " />
19+ < meta property ="og:image:height " content ="675 " />
20+ < meta property ="og:image:alt " content ="{{ alt_text if alt_text else 'Vegan food at ' + name if name else 'Delicious vegan food from VILF' }} " />
21+ {% else %}
1522 < meta property ="og:image " content ="{{ SITE_URL }}/vilf_share_image.png " />
1623 < meta name ="twitter:image " content ="{{ SITE_URL }}/vilf_share_image.png " />
24+ {% endif %}
1725
1826 < meta property ="og:type " content ="website " />
1927 < meta name ="twitter:card " content ="summary_large_image " />
You can’t perform that action at this time.
0 commit comments