File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ <h1 class="my-3 font-mktg">{% data ui.product_sublanding.guides %}</h1>
2222 </ header >
2323
2424 <!-- Featured track -->
25- {% assign featuredTrack = page.learningTracks[0] %}
26- {% if featuredTrack %}
25+ {% if page.featuredTrack %}
26+ {% assign featuredTrack = page. featuredTrack %}
2727 < div class ="mb-6 position-relative overflow-hidden mr-n3 ml-n3 px-3 ">
2828 < ul class ="list-style-none d-flex flex-nowrap overflow-x-scroll px-2 feature-track ">
2929 < li class ="px-2 d-flex flex-shrink-0 ">
@@ -58,14 +58,14 @@ <h3 class="font-mktg h3-mktg my-4 color-text-primary">{{ guide.title }}</h3>
5858 {% endif %}
5959
6060 {% assign learningTracks = page.learningTracks %}
61- {% if learningTracks %}
61+ {% if learningTracks and learningTracks.size > 0 %}
6262 < div class ="border-top py-6 ">
6363 < h2 class ="mb-3 font-mktg "> {% data ui.product_sublanding.learning_paths %}</ h2 >
6464 < div class ="lead-mktg color-text-secondary f4 description-text "> {% data ui.product_sublanding.learning_paths_desc %}</ div >
6565
6666 <!-- Learning tracks -->
6767 < div class ="d-flex flex-wrap flex-items-start my-5 gutter ">
68- {% for track in page. learningTracks offset:1 %}
68+ {% for track in learningTracks %}
6969 < div class ="my-3 px-4 col-12 col-md-6 learning-track ">
7070 < div class ="Box js-show-more-container d-flex flex-column ">
7171 < div class ="Box-header bg-gradient--blue-pink p-4 d-flex flex-1 flex-items-start flex-wrap ">
You can’t perform that action at this time.
0 commit comments