]> git.ipfire.org Git - ipfire.org.git/commitdiff
Show background image only on main page
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Jul 2018 12:42:18 +0000 (13:42 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Jul 2018 12:42:18 +0000 (13:42 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 826f2395435da5435b6cd02b9afabcfb7e1d0dbc..1a524c6e1e95fd30ae234cc8769575eb5e88513d 100644 (file)
@@ -17,7 +17,7 @@
                {% end %}
        </head>
 
-       <body id="page-top" class="{% if request.path in ("/", "/donate") %}background{% end %}">
+       <body id="page-top" class="{% if request.host in ("www.ipfire.org", "dev.ipfire.org") and request.path in ("/", "/donate") %}background{% end %}">
                <nav class="navbar navbar-expand-lg fixed-top">
                        <div class="container">
                                <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar"