{% block head %}{% end block %}
</head>
+ {% set is_subproject = False %}
+
+ {# IPFire DBL is a subproject #}
+ {% if request.path.startswith("/dbl") %}
+ {% set is_subproject = True %}
+
+ {# IPFire Location is a subproject #}
+ {% elif request.path.startswith("/location") %}
+ {% set is_subproject = True %}
+ {% end %}
+
<body class="is-flex is-flex-direction-column">
<nav class="navbar {% if request.path.startswith("/dbl") %}is-dark{% end %}"
role="navigation" aria-label="main navigation">
{% end %}
{# Buy #}
- {% if not request.path.startswith("/dbl") %}
+ {% if not is_subproject %}
<div class="navbar-item">
<a class="button is-lwl has-text-weight-bold is-uppercase"
href="https://store.lightningwirelabs.com/?utm_source={{ hostname }}&utm_medium=navigation">
</a>
</div>
+ {# Back to IPFire.org #}
+ {% if is_subproject %}
+ <a class="navbar-item is-tab" href="https://www.ipfire.org/" title="{{ _("Back to IPFire.org") }}">
+ <span class="icon">
+ <i class="fa-solid fa-house"></i>
+ </span>
+ </a>
+ {% end %}
+
{% if current_user %}
<div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link is-arrowless" href="/users/{{ current_user.uid }}">