<xf:set var="$lastPostUsername">
<a href="{{ link('members', {'user_id': $thread.last_post_cache.user_id, 'username': $thread.last_post_cache.username}) }}">{$thread.last_post_cache.username}</a>
</xf:set>
<li>{{ phrase('latest_x', {'name': $lastPostUsername}) }}</li>