Skip to content

Commit df86922

Browse files
committed
canonicalのURIを修正
1 parent e553840 commit df86922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_includes/title.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{% if page.title %}
22
<title>{{ page.title | escape }} - {{ site.name | escape }}</title>
3-
<link rel="canonical" href="{{ site.url }}{{ page.url }}">
3+
<link rel="canonical" href="{{ site.url }}{{ page.url | remove_first:'index.html' }}">
44
{% else %}
55
<title>{{ site.name | escape }}</title>
66
<link rel="canonical" href="{{ site.url }}">

0 commit comments

Comments
 (0)