We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e553840 commit df86922Copy full SHA for df86922
_includes/title.html
@@ -1,6 +1,6 @@
1
{% if page.title %}
2
<title>{{ page.title | escape }} - {{ site.name | escape }}</title>
3
- <link rel="canonical" href="{{ site.url }}{{ page.url }}">
+ <link rel="canonical" href="{{ site.url }}{{ page.url | remove_first:'index.html' }}">
4
{% else %}
5
<title>{{ site.name | escape }}</title>
6
<link rel="canonical" href="{{ site.url }}">
0 commit comments