]> git.ipfire.org Git - ipfire.org.git/commitdiff
footer: Make links relative since this only shown on main page
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Nov 2018 13:58:24 +0000 (13:58 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 6 Nov 2018 13:58:24 +0000 (13:58 +0000)
Fixes: #11920
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/base.html

index 4f529f397013249770ed7514b7e3a80251b636a8..ffe6fb67dfbb418e9bb60ac5a838c2a69c100300 100644 (file)
                                                                                        <div class="col">
                                                                                                <ul class="list-unstyled">
                                                                                                        <li>
-                                                                                                               <a href="https://www.ipfire.org/features">{{ _("Features") }}</a>
+                                                                                                               <a href="/features">{{ _("Features") }}</a>
                                                                                                        </li>
 
                                                                                                        <li>
-                                                                                                               <a href="https://downloads.ipfire.org">{{ _("Download") }}</a>
+                                                                                                               <a href="/download">{{ _("Download") }}</a>
                                                                                                        </li>
 
                                                                                                        <li>
-                                                                                                               <a href="https://www.ipfire.org/support">{{ _("Support") }}</a>
+                                                                                                               <a href="/support">{{ _("Support") }}</a>
                                                                                                        </li>
                                                                                                </ul>
                                                                                        </div>
                                                                                                        </li>
 
                                                                                                        <li>
-                                                                                                               <a href="https://www.ipfire.org/legal">{{ _("Legal") }}</a>
+                                                                                                               <a href="/legal">{{ _("Legal") }}</a>
                                                                                                        </li>
                                                                                                </ul>
                                                                                        </div>
                                                                        </div>
 
                                                                        <div class="col-12 col-lg-4 text-center mb-4">
-                                                                               <a class="btn btn-primary btn-lg px-4 my-4" href="https://www.ipfire.org/donate">
+                                                                               <a class="btn btn-primary btn-lg px-4 my-4" href="/donate">
                                                                                        <span class="fas fa-heart"></span> {{ _("Donate") }}
                                                                                </a>