Add canonical link tag to index.twig

This commit is contained in:
Daniel Rudolf 2017-11-04 18:48:34 +01:00
parent 2af89075df
commit 3104729249
No known key found for this signature in database
GPG Key ID: A061F02CD8DE4538

View File

@ -11,6 +11,10 @@
<meta name="robots" content="{{ meta.robots }}" /> <meta name="robots" content="{{ meta.robots }}" />
{% endif %} {% endif %}
{% if current_page %}
<link rel="canonical" href="{{ current_page.url }}" />
{% endif %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700|Droid+Sans+Mono" type="text/css" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Droid+Sans:400,700|Droid+Sans+Mono" type="text/css" />
<link rel="stylesheet" href="{{ theme_url }}/style.css" type="text/css" /> <link rel="stylesheet" href="{{ theme_url }}/style.css" type="text/css" />
<link rel="stylesheet" href="{{ theme_url }}/fontello.css" type="text/css" /> <link rel="stylesheet" href="{{ theme_url }}/fontello.css" type="text/css" />