Fix canonical relation
This commit is contained in:
parent
1f9e25b97b
commit
9ef142a3b2
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
||||||
{% if site.bing_verify %}<meta name="msvalidate.01" content="{{ site.bing_verify }}">{% endif %}
|
{% if site.bing_verify %}<meta name="msvalidate.01" content="{{ site.bing_verify }}">{% endif %}
|
||||||
|
|
||||||
{% capture canonical %}{{ site.url }}{% if site.permalink contains '.html' %}{{ page.url }}{% else %}{{ page.url | remove:'index.html' | strip_slash }}{% endif %}{% endcapture %}
|
{% 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="canonical" href="http:{{ canonical }}">
|
||||||
<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
<link href="/feed.xml" type="application/atom+xml" rel="alternate" title="{{ site.title }} Feed">
|
||||||
{% if site.owner.google_plus %}<link rel="author" href="{{ site.owner.google_plus }}?rel=author">{% endif %}
|
{% if site.owner.google_plus %}<link rel="author" href="{{ site.owner.google_plus }}?rel=author">{% endif %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue