1
0
Fork 0

better meta canonical

This commit is contained in:
Matthias Kretschmann 2013-12-01 14:57:38 +01:00
parent 30eb90866c
commit bd7493a7da
1 changed files with 5 additions and 3 deletions

View File

@ -45,6 +45,7 @@
{% else %}
<meta name="description" content="{{ site.description }}" />
{% endif %}
<meta name="author" content="{{ site.author }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="True">
@ -52,6 +53,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="cleartype" content="on">
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
<link rel="canonical" href="{{ canonical }}">
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
{% if page.style %}
<link rel="stylesheet" href="/assets/css/{{ page.style }}">
@ -67,9 +71,7 @@
var total = {{ paginator.total_pages }};
</script>
{% endif %}
<link rel="canonical" href="{{ page.url }}" />
<!-- Twitter Cards -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="@kremaliciouscom">