Permalink
Browse files

add canonical tag

references #24
  • Loading branch information...
inmarelibero committed Nov 19, 2012
1 parent 26b6fb3 commit b03b902daa595605b3d37e0ad72fc5c7649c769d
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/Bricks/SiteBundle/Resources/views/layout.html.twig
@@ -14,6 +14,9 @@
<meta name="author" content="{% spaceless %}{% block meta_author_content %}symfonybricks.com{% endblock %}{% endspaceless %}" />
<meta name="language" content="{% spaceless %}{% block meta_language_content %}{{ app.request.locale }}{% endblock %}{% endspaceless %}" />
+ {# canonical url #}
+ <link rel="canonical" href="{{ app.request.uri }}"/>
+
{% stylesheets '@stylesheets' %}
<link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
{% endstylesheets %}

0 comments on commit b03b902

Please sign in to comment.