<body class="is-flex is-flex-direction-column">
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="container">
- <div class="navbar-brand">
- <a class="navbar-item is-size-4" href="/">
- <strong>
- {% if request.path.startswith("/location") %}
- {% module IPFireLogo("Location") %}
- {% elif request.path.startswith("/fireinfo") %}
+ <div class="navbar-brand is-size-4">
+ {% if request.path.startswith("/location") %}
+ <a class="navbar-item" href="/location">
+ {% module IPFireLogo("Location") %}
+ </a>
+ {% else %}
+ <a class="navbar-item" href="/">
+ {% if request.path.startswith("/fireinfo") %}
{% module IPFireLogo("Fireinfo") %}
{% elif hostname.startswith("nopaste.") %}
{% module IPFireLogo("NoPaste") %}
{% else %}
{% module IPFireLogo() %}
{% end %}
- </strong>
- </a>
+ </a>
+ {% end %}
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarMainMenu">
<span aria-hidden="true"></span>
{% set pride_colors = ("pride-red", "pride-orange", "pride-yellow", "pride-green", "pride-blue", "pride-purple") %}
-{# Christmas #}
-{% if now.month == 12 %}
- IPFire<span class="has-text-primary">_</span>{{ suffix or "" }} 🎄
+<strong>
+ {# Christmas #}
+ {% if now.month == 12 %}
+ IPFire<span class="has-text-primary">_</span>{{ suffix or "" }} 🎄
-{# Halloween #}
-{% elif now.month == 10 and now.day >= 28 %}
- IPFire<span class="has-text-primary">_</span>{{ suffix or "" }} 🎃
+ {# Halloween #}
+ {% elif now.month == 10 and now.day >= 28 %}
+ IPFire<span class="has-text-primary">_</span>{{ suffix or "" }} 🎃
-{# Pride Month #}
-{% elif now.month == 7 %}
- {% for color, i in zip(pride_colors, "IPFire") %}<span class="has-text-{{ color }}">{{ i }}</span>{% end %}_{{ suffix or "" }}
+ {# Pride Month #}
+ {% elif now.month == 7 %}
+ {% for color, i in zip(pride_colors, "IPFire") %}<span class="has-text-{{ color }}">{{ i }}</span>{% end %}_{{ suffix or "" }}
-{# Other times of the year #}
-{% else %}
- IPFire<span class="has-text-primary">_</span>{{ suffix or "" }}
-{% end %}
+ {# Other times of the year #}
+ {% else %}
+ IPFire<span class="has-text-primary">_</span>{{ suffix or "" }}
+ {% end %}
+</strong>