I am trying to access the multilist
field from datasource in scriban
template and getting the following error. The code snippet is given below,
<div class="row-section">
{{
for contentItem in (sc_follow i_item "Item List")
}}
{{ contentType=(sc_follow contentItem 'Content Section') }}
<div class="slider ">
<div class="content bar">
<div class="image-wrapper">
<div class="card-types">
<p class="card-type" card-type="{{contentType.Name}}">{{contentType.Name}}</p>
</div>
</div>
</div>
</div>
{{
end
}}
</div>
</div></div>
{{
end
}}