{% if "hub.sr.ht" in network %} {{icon('circle')}} {{site_name}} {% else %} {{icon('circle')}} {{site_name}} {{site.split(".")[0]}} {% endif %}
{% if current_user %} Logged in as {% set hubsrht = get_origin("hub.sr.ht", external=True, default=None) %} {% if hubsrht %} {% else %} {% endif %} {{current_user.username}}Log out {% else %} {% if site == 'meta.sr.ht' %} Log inRegister {% else %} Log inRegister {% endif %} {% endif %}