]> git.ipfire.org Git - ipfire.org.git/blobdiff - src/templates/base.html
blog: Add RSS feed URL to header
[ipfire.org.git] / src / templates / base.html
index 54390c58664f459cf25960be77797446835f955b..473b6881e991f100454b59d32ac497a108b29f0f 100644 (file)
@@ -5,25 +5,17 @@
                <meta http-equiv="content-type" content="text/html; charset=utf-8" />
                <meta name="author" content="IPFire.org - IPFire Development Team" />
 
-               <!-- Your locale is {{ locale.code }} -->
-
                <meta name="keywords" content="Linux, Firewall, IPFire, Security, IPCop, Open Source, Free, ARM, VPN, Proxy, IDS, IPS" />
                <meta name="description" content="{{ _("IPFire is a free firewall distribution based on Linux.") }}" />
 
                <!-- styling stuff -->
                <link rel="stylesheet" type="text/css" href="{{ static_url("main.css") }}" />
-
-               <!-- Ubuntu font - TODO needs to be delivered locally -->
-               <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Ubuntu:300,500,700" />
-
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
 
-               {% if rss_url %}
-                       <link rel="alternate" type="application/rss+xml" title="RSS" href="{{ rss_url }}" />
-               {% end %}
+               {% block head %}{% end block %}
        </head>
 
-       <body id="page-top">
+       <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"
@@ -33,7 +25,7 @@
 
                                <a class="navbar-brand mx-auto text-dark" href="/">
                                        <img src="{{ static_url("img/ipfire-tux.png") }}" alt="IPFire" height="32px" />
-                                       IP<strong>Fire</strong>
+                                       IP<strong>Fire</strong> {% block subtitle %}{% end block %}
                                </a>
 
                                <div class="collapse navbar-collapse" id="navbar">
@@ -52,6 +44,7 @@
                {% block container %}
                        <div class="container">
                                {% block body %}{% end block %}
+                               {% block content %}{% end block %}
                        </div>
                {% end block %}
 
@@ -70,7 +63,7 @@
                                                                        <a href="https://downloads.ipfire.org">{{ _("Download") }}</a>
                                                                </li>
                                                                <li>
-                                                                       <a href="https://planet.ipfire.org">{{ _("Planet") }}</a>
+                                                                       <a href="https://blog.ipfire.org">{{ _("Blog") }}</a>
                                                                </li>
                                                                <li>
                                                                        <a href="https://www.ipfire.org/legal">{{ _("Legal") }}</a>