I am trying to create a hyperlink attached to a name, however both groups are in two separate ranges i.e. names are in one range and the links are in another. Is there a way to combine the two? Currently the html code I have is as below, however, I want only the name to contain the hyperlink.
<h5 class="card-title">Members:</h5>
{{range .Members}}
<ul class="card-text">
<li style="margin-bottom: 0rem;">{{.}}</li>
<./ul>
{{end}}
<h5 class="card-title">WikiLink:</h5>
{{range .WikiLink}}
<ul class=" card-text">
<li style="margin-bottom: 0rem;"><a href="{{.}}">{{.}}</a></li>
</ul>
{{end}}
The output I am therefore getting is a list of names and then a list of links below.
Any ideas would be appreciated.
Thanks