<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=mainnet"><buttonclass="pure-button search-btn">Mainnet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=testnet"><buttonclass="pure-button search-btn">Testnet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}nettype=stagenet"><buttonclass="pure-button search-btn">Stagenet</button></a>
<ahref="{% if 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}web_compatible=true"><buttonclass="pure-button search-btn">Web</button></a>
{% if 'onion' not in request.args %}<ahref="{% if 'nettype' in request.args or 'crypto' in request.args %}{{ request.url }}&{% else %}/?{% endif %}onion=true"><buttonclass="pure-button search-btn"><imgsrc="/static/images/tor.svg"width=15px> Onion</button></a>{% endif %}