Skip to content

Commit 0d17d88

Browse files
committed
Site head: Ignore canonical link in HTML-Proofer
Otherwise this causes new pages to appear as always 404'ing when testing
1 parent 5033dde commit 0d17d88

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

site/_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +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',''}}">
12+
<link rel="canonical" href="{{ site.url }}{{ page.url | replace:'index.html',''}}" data-proofer-ignore>
1313
</head>
1414
<body>
1515
<header class="mb-4">

0 commit comments

Comments
 (0)