Skip to content

Commit

Permalink
[Backoffice] No not allow index of login page.
Browse files Browse the repository at this point in the history
Closes #79
  • Loading branch information
NoUseFreak committed Mar 22, 2015
1 parent aea0a41 commit 6e1ae8f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/Clastic/BackofficeBundle/Resources/views/html.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,21 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="description" content="Clastic Backoffice">
<meta name="author" content="Dries De Peuter">
<meta name="Generator" content="Clastic (http://clastic.nousefreak.be)">

<link rel="icon" href="{{ asset('bundles/clasticbackoffice/favicon.png') }}">

<title>{% block html_title %}{% endblock %}</title>

<link href="{{ asset('build/app.min.css') }}" rel="stylesheet">

{% block html_head %}{% endblock html_head %}
</head>

<body>
{% block html_body %}{% endblock %}
{% block html_body %}{% endblock html_body %}
<script src="{{ asset('build/vendor.min.js') }}"></script>
<script src="{{ asset('build/app.min.js') }}"></script>
</body>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

{% trans_default_domain 'FOSUserBundle' %}

{% block html_head %}
{{ parent() }}
<meta name="robots" content="noindex, nofollow">
{% endblock html_head %}

{% block html_title %}Clastic{% endblock %}

{% block html_body %}
Expand Down

0 comments on commit 6e1ae8f

Please sign in to comment.