Skip to content

Commit

Permalink
Added canonical meta tag
Browse files Browse the repository at this point in the history
  • Loading branch information
michalv8 authored and danon committed Sep 20, 2023
1 parent 6d9ba10 commit d5b2594
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions resources/views/layout.twig
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
{% block meta_robots %}
{% endblock %}

{% block canonical %}
<link rel="canonical" href="{% block canonical_href %}{{ app.request.url }}{% endblock %}" />
{% endblock %}

{% block head %}
<title>{%- block title -%} :: 4programmers.net{%- endblock -%}</title>

Expand Down

0 comments on commit d5b2594

Please sign in to comment.