I just can't find how to create an unordered list for Umbraco.
I can get the prevalence, BUT I can not get them as a list on the front side.
My code so far:
var myValues = umbraco.library.GetPreValues(12080); <ul> @foreach(var c in myValues){ <li><a href="@ baseNode.Url?category=@c ">@c</a></li> } </ul>
I return values ββas a single element
but they are not divided. I tried adding .Split () to myValues ββin foreach and threw me an error. Did I miss something?
Thanks in advance.
source share