diff default/base/base.html @ 25:b046a7835374

base/base.html: if norobots is set, add a <meta> to tell robots no to index or follow this page.
author Goffi <goffi@goffi.org>
date Sat, 24 Jun 2017 20:20:51 +0200
parents 8fa2fd2e928e
children d782227c088d
line wrap: on
line diff
--- a/default/base/base.html	Tue May 23 00:07:19 2017 +0200
+++ b/default/base/base.html	Sat Jun 24 20:20:51 2017 +0200
@@ -3,6 +3,11 @@
 <html>
 <head>
     <meta charset="utf-8" />
+
+    {% if norobots %}
+        <meta name="robots" content="noindex, nofollow">
+    {% endif %}
+
     <title>{% block title %}{{C.APP_NAME}}{% endblock %}</title>
     {% if css_content is defined %}
         <style type="text/css">