In MAIL_CONTAINER template this part of code
<td class="footer" align="center" valign="top">
<div>{{ phrase('visit_board_html', {'board_url': link('canonical:index'), 'board_title': $xf.options.boardTitle}) }}</div>
<xf:if contentcheck="true">
<div...