Use no .html
This commit is contained in:
parent
5bdc34c20a
commit
8754fb87f3
|
@ -36,8 +36,8 @@
|
|||
|
||||
{%comment%}<!-- canonical URL -->{%endcomment%}
|
||||
{% if page.url != '/index.html' %}
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
|
||||
<meta name="og:url" content="{{ site.url }}{{ page.url }}">
|
||||
<link rel="canonical" href="{{ site.url }}{{ page.url | remove: '.html' }}">
|
||||
<meta name="og:url" content="{{ site.url }}{{ page.url | remove: '.html' }}">
|
||||
<link rel="prefetch" href="{{ site.url }}">
|
||||
<link rel="prerender" href="{{ site.url }}">
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue