]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/base.html
make more readable
[irc/freenode/web-7.0.git] / templates / base.html
index 6c0e5a69f3d0a2d2c8197811c45cc0042e69f001..84b55ba1c18eaeaae7195b6bb63a3c097ad45b86 100644 (file)
@@ -7,6 +7,9 @@
     {#- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags #}
     <meta name="theme-color" content="#292f2f">
     <meta name="description" content="{{ config.DESCRIPTION }}">
+    {%- if robots is defined and robots is not none %}
+    <meta name="robots" content="{{ robots }}">
+    {%- endif %}
     <link rel="icon" href="{{ url_for("static/img/logos/coloured-alphabg-sq-120.png") }}">
     {%- block links %}
     <link rel="alternate" type="application/rss+xml" href="{{ url_for("news/rss") }}" title="news (rss)">
         {% block content %}{% endblock %}
     </div>
     <div class="footers">
-        <a name="navigation"></a>
+        <a id="navigation"></a>
         {% include "footer.html" %}
     </div>
+    {#- scripts last to avoid blocking rendering #}
+    <script src="{{ url_for("static/js/utils.js") }}?{{ git_hash }}" type="text/javascript"></script>
 </body>
 </html>