]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/base.html
Merge pull request #107 from freenode/footer-mob
[irc/freenode/web-7.0.git] / templates / base.html
index 8c9fca5e2abb8df57b36350519ea73ce5c4bfedb..e9e20f95c4b5d2f5767944ba837e6640b1af9001 100644 (file)
 <!DOCTYPE html>
-
 <html lang="en">
 <head>
     <meta charset="utf-8">
     <meta content="IE=edge" http-equiv="X-UA-Compatible">
     <meta content="width=device-width, initial-scale=1" name="viewport">
     <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
-    <meta content="#fff" name="theme-color">
-
-    <title>{{ title }}</title>
-    <link href="static/css/open-sans.css" rel="stylesheet">
-    <link href="static/css/style.css" rel="stylesheet">
-    <link href="static/css/font-awesome.min.css" rel="stylesheet">
+    <meta name="theme-color" content="#292f2f">
+    <meta name="description" content="{{ config.DESCRIPTION }}">
+    <link rel="icon" href="{{ url_for("static/img/logos/coloured-alphabg-sq-120.png") }}">
+    <title>{% block title %}{{ title }} - {{ config.name }}{% endblock %}</title>
+    <link href="{{ url_for("static/css/open-sans.css") }}" rel="stylesheet">
+    <link href="{{ url_for("static/css/font-awesome.css") }}" rel="stylesheet">
+    <link href="{{ url_for("static/css/freenode.css") }}" rel="stylesheet">
+    <link href="{{ url_for("static/css/style.css") }}" rel="stylesheet">
 </head>
-
 <body>
     <nav class="navbar">
-        <a href="index"><img alt="freenode" class="nlogo" src=
-        "static/img/logos/coloured-alphabg.svg"></a> <a href="PIA" target=
-        "_blank"><img alt="Private internet access" class="nlogo" src=
-        "static/img/logos/PIALogo_black.svg"></a>
+        <a href="{{ url_for("index") }}"><img alt="freenode" class="nlogo" src="{{ url_for("static/img/logos/coloured-alphabg.svg") }} "></a>
+        <a href="https://www.privateinternetaccess.com/pages/buy-vpn/freend/" target="_blank"><img alt="Private internet access" class="nlogo" src="{{ url_for("static/img/logos/PIALogo_white.svg") }}"></a>
     </nav>
-
-
     <div class="container">
         {% block content %}{% endblock %}
     </div>
-
-
-    <footer class="footer">
-        <div class="footerchild">
-            <h2>About freenode</h2>
-
-
-            <ul>
-                <li>
-                    <a>Vision</a>
-                </li>
-
-
-                <li>
-                    <a>Mission</a>
-                </li>
-
-
-                <li>
-                    <a>Philosophy</a>
-                </li>
-
-
-                <li>
-                    <a>Policies</a>
-                </li>
-
-
-                <li>
-                    <a>Credits</a>
-                </li>
-            </ul>
-        </div>
-
-
-        <div class="footerchild">
-            <h2>Using freenode</h2>
-
-
-            <ul>
-                <li>
-                    <a>Connect</a>
-                </li>
-
-
-                <li>
-                    <a>Clients</a>
-                </li>
-
-
-                <li>
-                    <a>Webchat</a>
-                </li>
-
-
-                <li>
-                    <a>SASL</a>
-                </li>
-            </ul>
-        </div>
-
-
-        <div class="footerchild">
-            <h2>Groups/Projects</h2>
-
-
-            <ul>
-                <li>
-                    <a>Group Management System</a>
-                </li>
-
-
-                <li>
-                    <a>Groups on freenode</a>
-                </li>
-
-
-                <li>
-                    <a>How Groups Work</a>
-                </li>
-            </ul>
-        </div>
-
-
-        <div class="footerchild">
-            <h2>Support freenode</h2>
-
-
-            <ul>
-                <li>
-                    <a>Host a server</a>
-                </li>
-            </ul>
-        </div>
-
-        <div class="footerchild hdn">&nbsp;</div>
-
-
-        <div class="footerchild">
-            <h2>Social Media</h2>
-
-
-            <ul>
-                <li>
-                    <a href="https://plus.google.com/104326727082310562426"
-                    target="_blank"><i class="fa fa-google-plus"></i>
-                    Google+</a>
-                </li>
-
-
-                <li>
-                    <a href="https://twitter.com/freenodestaff" target=
-                    "_blank"><i class="fa fa-twitter"></i> Twitter</a>
-                </li>
-
-
-                <li>
-                    <a href="PIA" target="_blank"><img alt="PIA" height="14px"
-                    src="static/img/logos/pia-robot-original.svg"> Private Internet
-                    Access</a>
-                </li>
-            </ul>
-        </div>
-    </footer>
-
-
-    <footer class="copyright">
-        <a class="copyright" href=
-        "https://creativecommons.org/licenses/by-nc-sa/4.0/" target=
-        "_blank"><img alt="CC by-nc-sa" height="31px" src=
-        "static/img/by-nc-sa.svg"></a>
-
-        <p>&copy; Copyright 2002-2016, freenode</p>
-    </footer>
+    <div class="footers">
+        {% include "footer.html" %}
+    </div>
+    {% include "analytics.html" %}
 </body>
 </html>