]> jfr.im git - irc/freenode/web-7.0.git/blobdiff - templates/base.html
Add 2020-11-28-chanserv-cloak-changes.md (#476)
[irc/freenode/web-7.0.git] / templates / base.html
index 25f7f8672587124e1fd028f2c256914210c0fb6e..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)">
@@ -38,5 +41,7 @@
         <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>