Skip to content

Commit 389a4d2

Browse files
committed
Add Canonical link to <head>
1 parent 5fe6ed4 commit 389a4d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

site/_layouts/default.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<title>{{ site.title }}</title>
1010
{%- endif -%}
1111
{% include styles.html %}
12+
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html',''}}">
1213
</head>
1314
<body>
1415
<header class="mb-4">

0 commit comments

Comments
 (0)