mirror of
https://github.com/kremalicious/blog.git
synced 2025-02-14 21:10:25 +01:00
better meta canonical
This commit is contained in:
parent
30eb90866c
commit
bd7493a7da
@ -45,6 +45,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<meta name="description" content="{{ site.description }}" />
|
<meta name="description" content="{{ site.description }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
<meta name="author" content="{{ site.author }}">
|
||||||
|
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||||
<meta name="HandheldFriendly" content="True">
|
<meta name="HandheldFriendly" content="True">
|
||||||
@ -52,6 +53,9 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
<meta http-equiv="cleartype" content="on">
|
<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">
|
<link rel="stylesheet" href="/assets/css/kremalicious3.min.css">
|
||||||
{% if page.style %}
|
{% if page.style %}
|
||||||
<link rel="stylesheet" href="/assets/css/{{ page.style }}">
|
<link rel="stylesheet" href="/assets/css/{{ page.style }}">
|
||||||
@ -67,9 +71,7 @@
|
|||||||
var total = {{ paginator.total_pages }};
|
var total = {{ paginator.total_pages }};
|
||||||
</script>
|
</script>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<link rel="canonical" href="{{ page.url }}" />
|
|
||||||
|
|
||||||
<!-- Twitter Cards -->
|
<!-- Twitter Cards -->
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
<meta name="twitter:site" content="@kremaliciouscom">
|
<meta name="twitter:site" content="@kremaliciouscom">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user