What are the ways to set links in templates?

Hi,
I am trying to set links in my Vaadin 10 application via templates.

The only way I figured out so far, is:

<template is="dom-repeat" items="[[persons]
]">
                    <tr on-click="handleClick" id="[[item.name]
]">
                        <td><a href$="[[personbaseurl]
]/[[item.name]
]">{{item.name}}</a></td>
                        <td>{{item.email}}</td>
                    </tr>
            </template>

On the one hand, I have to set personbaseurl manually to:

getModel().setPersonbaseurl(UI.getCurrent().getRouter().getUrlBase(PersonView.class));

On the other hand, I have to set arguments manually.

Are there better ways to set links?