Skip to content
This repository was archived by the owner on Jun 18, 2024. It is now read-only.

Commit f8656b6

Browse files
committed
adds rel=canonical to tell search engines et al about new URL
1 parent f0de261 commit f8656b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: _includes/header.html

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
<link rel="stylesheet" href="/assets/css/bootstrap.css">
1515
<link rel="stylesheet" href="/assets/css/site.css">
1616

17+
<link rel="canonical" href="{{ site.url }}{{ page.url }}" />
18+
1719
{% capture edit_url %}https://github.com/{{ site.org_name }}/{{ site.repo_name }}/edit/{{ site.branch }}/{{ page.filename }}{% endcapture %}
1820
</head>
1921
<body class="{{ page.id }}">

0 commit comments

Comments
 (0)