header if request.path != url_for('.index') a(href=url_for('.index')) Lair else div .header-links - var links = ( ('.us', _('about us')), ('.host', _('about host')), ) each l, t in links if url_for(l) == request.path strong= t else a(href=url_for(l))= t