AndrewSimm
Well-known member
The values come from $sport, $team, and $year. I can't figure out how to format a link that includes 3 variables. $sport and $team are pulled in with the template and $year is looped through from $years. It is worth noting that the route works fine when I enter the information into the address bar.
Code:
<xf:foreach loop="$years" value="$year">
<a href="{{ link('players/commits', $sport) }}" class="menu-linkRow u-indentDepth0 js-offCanvasCopy">{$year.name}</a>
</xf:foreach>