From c1727fcb0452f3311a07e85a57824be26f932818 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Wed, 23 Mar 2022 00:42:46 -0700 Subject: [PATCH] add video links from the nice car_info --- docs/vehicles_template.js | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/vehicles_template.js b/docs/vehicles_template.js index e4b96597e0..275c8ec9db 100644 --- a/docs/vehicles_template.js +++ b/docs/vehicles_template.js @@ -21,13 +21,16 @@ export const state = () => ({ {% for tier, cars in tiers %} '{{tier.name.title()}}': { description: '{{tier.value | replace("'", "\\'")}}', - rows: [ + cars: [ {% for car_info in cars %} - [ - {% for column in Column %} - '{{car_info.get_column(column, star_icon, footnote_tag)}}', - {% endfor %} - ], + { + video_link: '{{car_info.video_link}}', + row: [ + {% for column in Column %} + '{{car_info.get_column(column, star_icon, footnote_tag)}}', + {% endfor %} + ] + }, {% endfor %} ], },