I've created a template in Sitecore, and one of the fields in my template allows me to select an existing Link List item. I also have a Scriban variant where the code loops through all the items created with that template. When I try to output the Link List field, I only get the name of the list, rather than the list of links. How can I display the actual list of links?
<!-- loop through the parent items -->
{{ for i_parent in i_datasource.children }}
<!--loop through the child items -->
{{ for i_child in i_parent.children }}
<!-- link -->
{{ if (i_child.Link) }}
<p class="linkstyle">{{i_child.Link}}</p>
{{end}}
<!-- description -->
{{ if (i_child.Description) }}
<p class="description"> {{i_child.Description}}</p>
{{end}}
<!-- link list -->
{{ if (i_child.LinkList) }}
<!-- this displays the list name -->
{{i_child.LinkList}}
<!-- TO DO: display the list of links, not just the link list name -->
{{ for i_product in (sc_followmany i_item i_child.LinkList) }}
<!-- this displays nothing -->
<span class="linkstyle">{{i_product.name}}</span>
{{end}}
{{end}}
{{ end }}
{{ end }}