File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
python/cac_tripplanner/templates Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 25
25
< meta name ="twitter:description " content ="{{ event.description|striptags }} " />
26
26
< meta property ="og:image " content ="{{ request.build_absolute_uri }}{% cropped_thumbnail event 'wide_image' %} " />
27
27
< meta name ="twitter:image " content ="{{ request.build_absolute_uri }}{% cropped_thumbnail event 'wide_image' %} " />
28
+ < meta name ="og:image:alt " content ="{{ event.description|striptags }} " />
29
+ < meta name ="twitter:image:alt " content ="{{ event.description|striptags }} " />
28
30
< meta property ="og:image:width " content ="680 " />
29
31
< meta property ="og:image:height " content ="400 " />
30
32
{% endblock %}
Original file line number Diff line number Diff line change 29
29
< meta name ="twitter:description " content ="{{ article.teaser|striptags }} " />
30
30
< meta property ="og:image " content ="{{ request.build_absolute_uri }}{% cropped_thumbnail article 'wide_image' %} " />
31
31
< meta name ="twitter:image " content ="{{ request.build_absolute_uri }}{% cropped_thumbnail article 'wide_image' %} " />
32
+ < meta name ="og:image:alt " content ="{{ article.teaser|striptags }} " />
33
+ < meta name ="twitter:image:alt " content ="{{ article.teaser|striptags }} " />
32
34
< meta property ="og:image:width " content ="680 " />
33
35
< meta property ="og:image:height " content ="200 " />
34
36
{% endblock %}
Original file line number Diff line number Diff line change 25
25
< meta property ="og:description " content ="{{ destination.description|striptags }} " />
26
26
< meta property ="og:image " content ="{{ request.build_absolute_uri }}{% cropped_thumbnail destination 'wide_image' %} " />
27
27
< meta name ="twitter:image " content ="{{ request.build_absolute_uri }}{% cropped_thumbnail destination 'wide_image' %} " />
28
+ < meta name ="og:image:alt " content ="{{ destination.description|striptags }} " />
29
+ < meta name ="twitter:image:alt " content ="{{ destination.description|striptags }} " />
28
30
< meta property ="og:image:width " content ="680 " />
29
31
< meta property ="og:image:height " content ="400 " />
30
32
{% endblock %}
You can’t perform that action at this time.
0 commit comments