add video links from the nice car_info

pull/24020/head
Shane Smiskol 3 years ago
parent 607428eb81
commit c1727fcb04
  1. 9
      docs/vehicles_template.js

@ -21,13 +21,16 @@ export const state = () => ({
{% for tier, cars in tiers %} {% for tier, cars in tiers %}
'{{tier.name.title()}}': { '{{tier.name.title()}}': {
description: '{{tier.value | replace("'", "\\'")}}', description: '{{tier.value | replace("'", "\\'")}}',
rows: [ cars: [
{% for car_info in cars %} {% for car_info in cars %}
[ {
video_link: '{{car_info.video_link}}',
row: [
{% for column in Column %} {% for column in Column %}
'{{car_info.get_column(column, star_icon, footnote_tag)}}', '{{car_info.get_column(column, star_icon, footnote_tag)}}',
{% endfor %} {% endfor %}
], ]
},
{% endfor %} {% endfor %}
], ],
}, },

Loading…
Cancel
Save