Add canonical url support
This commit is contained in:
parent
1dee0ab12d
commit
d53979f78f
@ -17,7 +17,9 @@
|
|||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
{% if current_url %}
|
||||||
|
<link rel="canonical" href="{{current_url}}" />
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{get_url(path=" rss.xml",
|
<link rel="alternate" type="application/rss+xml" title="RSS" href="{{get_url(path=" rss.xml",
|
||||||
trailing_slash=false)}}">
|
trailing_slash=false)}}">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user