Mercurial > libervia-templates
changeset 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 | 2496887339f6 |
children | d782227c088d |
files | default/base/base.html |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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">